Hello,I have a ADMIN account with the "Limit ticket access to ONLY assigned tickets." activated.When I go to my Staff Panel ( /scp/index.php ) - the ticket counters at the top (Open / Answered / My Tickets / etc ) are showing overall number of such tickets on the system, as if I had no Limited Access activated.In the earlier osTicket version (1.7.3) those ticket counters were correct.The issue is only with the counters. The listings of tickets are displaying only tickets related to my account.I think it is a bug of 1.8.0. Or is there anything I did wrong while upgrading from 1.7.3 to 1.8.0 ?I would appreciate any help.

Please post a screen shot of this account and an account with more privs to show the difference.

I am attaching a screenshot of my account when "Limited Access" is activated and de-activated.As you see in both screenshots the OPEN tickets counter is 8. However when I have Limited Access I can see only 4 tickets which are assigned to me.

admin.jpg

limited_admin.jpg

I've opened a GitHub issue at https://github.com/osTicket/osTicket-1.8/issues/298 to track getting the issue corrected

From what it looks like, the entire query has drastically changed:https://github.com/osTicket/osTicket-1.8/blob/develop/include/class.ticket.php (lines 1835 - 1890)cmphttps://github.com/clonemeagain/osTicket-1.7/blob/master/include/class.ticket.php (lines 1793-1838)Check its not a permissions issue (has your team/group got access?) if that checks out, create an issue on github.

a month later

Thanks for posting this. Can anyone verify if this patch fixes the issue?https://github.com/osTicket/osTicket-1.8/pull/389Cheers,

Write a Reply...