Show Count on All Usergroups

From UnionCloud Support
Revision as of 16:36, 1 December 2016 by Ash (talk | contribs) (Created page with "thumb|JavaScript snippet to Show Count of Usergroups on Dashboard Pages If you are looking at one of the Admin Dashboard pages that shows a list of man...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
JavaScript snippet to Show Count of Usergroups on Dashboard Pages

If you are looking at one of the Admin Dashboard pages that shows a list of many different UserGroups, you will notice that they all have a [Show Count] link, to view the number of members in that group.
UnionCloud is setup this way to save resources, and increase page load speed. It might only seem like a small thing performing those calculations, but imagine loads of union staff all on their own dashboards, performing these calculations all the time, every time they refreshed the page.

As it happens, there is a JavaScript snippet you can use to show the count on any page you are currently on;

You need to do this from the console page on the developers toolkit (Press F12 in chrome, other browser are available).

	$('.show-member-count').click();

Or you can type paste the content below into the url of the page.

	javascript:$('.show-member-count').click();