-
-
September 9, 2021 at 9:09 am #8142JJulienVDCParticipant
Hey there,
For some reasons I am experiencing this random bug where it doesn’t display the user count for certain organizations (though they’re holding users).
I’ve check the un-themed version of our helpdesk and the user-count appears, so it’s really linked to the OSTA theme.
When inspect the user count for those missing, I see this class showing up: class=”user-count-hide”. Whereas this class isn’t present for the other ones.
For one organization showing the same issue, the user-count finally appeared when I added new users. I tried this technique for the other organizations but it didn’t solve it….
FYI: all my users where imported by organizations.
Help?
<hr />
Theme Information
osTicket v1.15.2 // osTicket-1.15.1-Awesome-102
The current version: osTicket-1.15.3.1-Awesome-101Download osTicket-1.15.3.1-Awesome-101
Copy to Clipboard
Get Support
Your Software EnvironmentPHP 7.4.20 // MySQL 5.7.34 // Apache/2.4.38 (Debian) web server
-
September 24, 2025 at 9:49 am #23747Ssteve.white@centralcast.orgParticipant
It’s extremely frustrating that this has gone on as long as it has. It’s a simple bug to fix. The code is looking for the digit “0” in the cell, which means that any org with a multiple of 10 users (i.e. 20, 30, etc) will be hidden.
To fix, edit the include/staff/orgs.inc.php file and remove this line at the end..
$('table.list td:nth-child(3):contains("0")').addClass('user-count-hide');
It’ll show 0 users if any of your ORGs have none.
-
You must be logged in to reply to this topic.