XF 2.2 ACP Search for Users

ed762

Member
ACP Search for Users -Is there a way to search users belong to Secondary Usergroup x AND y, versus Usergroup x OR y?

This search apparently is default to be an "OR" search
Screenshot 2024-07-14 at 10.34.32 AM.webp
 
Solution
There is a workaround.

Create a new group called XY

  • Batch update X users to that group XY
  • Batch update Y users to that group XY

XY now has some users from X some from Y and some from both.

You now need to remove those with just X or just Y and keep those with both.
  • Do a batch update for all users in XY who are NOT in X and remove them from XY
  • Do a batch update for all users in XY who are NOT in Y and remove them from XY

XY now cuts has users in X AND Y
There is a workaround.

Create a new group called XY

  • Batch update X users to that group XY
  • Batch update Y users to that group XY

XY now has some users from X some from Y and some from both.

You now need to remove those with just X or just Y and keep those with both.
  • Do a batch update for all users in XY who are NOT in X and remove them from XY
  • Do a batch update for all users in XY who are NOT in Y and remove them from XY

XY now cuts has users in X AND Y
 
Solution
Thanks for the work around.

This is something that XF should consider changing in the ACP usergroup search.

Think about this - multiple separate queries can achieve the same result as a single "OR" search.

But there is no combination of independent single search can combine to form an "AND" search.

There is no capturing of the overlap between 2 populations by just capturing two separate populations. But one can capture the total of the 2 populations by adding up each of the populations one at a time.
 
Yes, it is possible to use the AND in promotion. As soon as the promotion is done, the promotion needs to be deleted to erase the promotion log so it cannot be reverted.

But promotion doesn't tell the number of accounts affected through ACP - so there is no reasonability check before pressing the button. Like in general before doing any of this I ball park the populaiton to have some sense it is about right.
 
Back
Top Bottom