Forums / Setup & design / Users in multiple/alternative locations being counted as distinctive users

Users in multiple/alternative locations being counted as distinctive users

Author Message

Tore Skobba

Tuesday 02 March 2004 7:11:58 am

UPDATE: After reading on EZ seems as this is a known and fixed bug:
http://www.ez.no/community/bug_reports/duplicates_when_fetching_trees_and_lists_with_objects_assigned_to_multiple_locations

http://ez.no/ez_publish/documentation/reference/data_fetching/content/tree

Hi

I have a site where I have several users in primarily one user group. However, some user are added to other usergroups (this in order to gain more permissions). However, when I am counting the total number of users these alternative locations are counted as an user. I.e an user placed in usergroup "Class of 1999" and usergroup "Editor" is counted as two distinctive users, instead of one. Am I doing something wrong or is this correct behaviour from EZ 3.3-3

Cheers
Tore

Jan Borsodi

Tuesday 02 March 2004 7:46:19 am

This is not possible in 3.3-3, however it has been added to the 3.3 branch and will be available in 3.3-4.
The new argument 'main_node_only' to tree_count, list_count, tree and list controls this behaviour.

3.3-4 should be out in about a week or two.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq