Support

Akeeba Ticket System

#32210 Get category information

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Ticket System version
n/a

Latest post by on Wednesday, 05 February 2020 17:17 CST

maka45
Hi

How can i get (read) this informations in akeeba ticket system from a specific category that i can do a category overview by myself?

-Count of Tickets (public) and Count of messages in tickets (public)
-title of latet ticket (including the date and name of user)

Best wishes
Mario

nicholas
Akeeba Staff
Manager
All tickets are in the #__ats_tickets table. All posts are in the #__ats_posts table. You can write your own SQL query to fetch the aggregate information you want. Please note that aggregate queries are slow – and please don't do a join, this makes things far far far far worse.

Regarding the latest ticket, first query #__ats_tickets table to get the information you want. Then query the #__ats_posts table for all ecords with the same ats_ticket_id and choose the one with the lowers ats_ticket_id to find the first post. The user_id is the Joomla user ID. You can pull up its record through JFactory to display the username.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!