No, it's not wrong.
What you see is the modified_by
field, translated from a user ID to a username. Typically, this field is updated when someone submits a reply. It is also updated when the client or the support staff edits the ticket's information, or modifies the ticket in any way.
Using this field is a deliberate choice that has to do with performance. Right now we only need to query one table, #__ats_tickets
, to display a list of tickets. It is already a fairly slow query as it needs to join with the Joomla #__users
table twice. If we were to also query the last post on the thread we'd have to do N queries to #__ats_posts
where N is the number of tickets (joining with that table is worse, as it would take several minutes for the query to run once you have more than a few thousand posts). I have benchmarked the two alternatives. Reporting the accurate last post author takes between four and ten times as long which translates to the page loading in 3 to 12 seconds instead of under 1.
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!