CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Selecting multiple groups in Advanced Search
Pages: [1]

Author Topic: Selecting multiple groups in Advanced Search  (Read 1015 times)

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Selecting multiple groups in Advanced Search
May 20, 2014, 03:26:39 pm
If someone wants to select 15 groups at one time in Advanced Search they currently have to select one, see it appear, select the second, see it appear, select the third and so on.

We, like many others, have hundreds of groups and scrolling though an enormous list multiple times in order to select one group and then another and another is time consuming. The complexity of this is compounded by the fact that the display of groups in that select box is by parental hierarchy. This means that that typing in initial letters often doesn't take you to the correct group (as it only alphabetically recognises groups at the first level of the hierarchy).

Could the Groups list in Advanced Search be altered so that you can select numerous groups in one go? The functionality is definitely already possible as it's used in the Include/Exclude Search. An additional win would be if the Advanced Search Groups list displayed fully alphabetically instead of by hierarchy (as it does when you use the action Add Contacts to a Group). Both these would be great time savers.

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: Selecting multiple groups in Advanced Search
May 20, 2014, 06:08:03 pm
This will likely be improved in 4.5, as the current widget used for that will be replaced by the Select2 library. This will let the predictive input search the entirety of the list at once, and is much faster.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: Selecting multiple groups in Advanced Search
May 21, 2014, 02:12:06 am
Thanks Jeremy. It's good to hear that the selection will be predictive irrespective of the parenting hierarchy, but will you be able to select multiple groups all at once like in the current Include/Exclude search eg by holding down the Cmd key and selecting numerous groups in one go?

Jeremy Proffitt

  • I post occasionally
  • **
  • Posts: 63
  • Karma: 2
    • Mobius New Media
  • CiviCRM version: 4.4.x
  • CMS version: Joomla 2.5.x/3.x / D7
  • MySQL version: 5.1.x
  • PHP version: 5.3.10+, 5.4.x
Re: Selecting multiple groups in Advanced Search
May 22, 2014, 11:37:28 am
It actually won't be replicating the functionality of the Advanced Multi-Select, and I'd say it's likely that will be going away at some point. The field takes up a lot of screen real estate, and there's no situation where it actually is faster to use the mouse to make that selection instead of typing. Being able to get suggestions will always be faster if it can search through all the available options.
Jeremy Proffitt
Mobius New Media
IRC: JP_EzoD

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: Selecting multiple groups in Advanced Search
May 22, 2014, 03:05:40 pm
Ah... the scenario I was thinking of concerning the ability to select multiple groups at once include several use cases:

- when you have lots of groups with similar names. For example all the groups relating to our newcomer integration process start with NC2 so appear together in the list. If the functionality existed I could select one, hold down Shift and select another one 15 down to include them all in one click.

- our weekly groups are hierarchied so are listed very neatly together. Again, with the Shift option I could select 3, 30 or 300 in one go.

Both these scenarios are far quicker with the Cmd or Shift select options rather than alphabetically searching for each group but one win out of two isn't bad! I look forward to the predictive searching. Thanks very much for your responses.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Selecting multiple groups in Advanced Search
May 22, 2014, 08:41:28 pm
Lindsay - you can see what is in 4.5 on the sandbox
http://drupal.sandbox.civicrm.org
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: Selecting multiple groups in Advanced Search
May 24, 2014, 02:43:59 am
Thanks Eileen. It was really helpful to take a look. Although you can'r select lots at a time it's great to see that the predictive stuff works whatever you select, so writing 'test' in the search box picks up groups even when that's not the first word. Good stuff.

On a different note, remember you kindly introduced an option to search by Group Type in this box a couple of years ago. It's a really helpful option but we have so many mid-week groups that if I search by Woodies Group Type it pretty much stalls the entire database (brought it down last week!) Is it possible to overcome that? Would making it into a Custom Search help at all?

Any thoughts you have would be much appreciated as I'd love to search by Group Type (and also to be able to select 'Not in a particular Group Type' as in the current Include/Exclude search... though I guess I can always do that via smart groups instead.

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Selecting multiple groups in Advanced Search
May 25, 2014, 02:32:05 pm
Are some of the groups you are searching for smart groups? Searching by lots of groups does put load on the DB - especially if they include hierarchical or smart groups - so changing the way you choose lots of groups might not help there.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

LindseyM

  • I post frequently
  • ***
  • Posts: 229
  • Karma: 8
  • CiviCRM version: 4.4.6
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3.6
Re: Selecting multiple groups in Advanced Search
May 28, 2014, 09:00:14 am
Hi Eileen
None of them are smart groups but the groups are hierarchied. The 'Woodies' Group Type currently consists of 21 parent groups and 100 child groups spread between those parents. If I do a Woodies Group Type search in Advanced Search it tends to crash the database at present.

All I really want to be able to do is find out which of our Sunday attenders are in a group and which aren't. With 100 groups I don't want to create a smart group of the 100 as, with frequent group changes (eg new groups evolving), we'll constantly have to remember to add/remove groups from the smart group. Group Type was my solution so that I could do a quick search at any point to identify anyone in a Woodies mid-week group (and therefore anyone not connected into one). Do you have any other creative solutions to accessing this info easily? Thanks for your help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • Usability Improvements (Moderator: Dave Greenberg) »
  • Selecting multiple groups in Advanced Search

This forum was archived on 2017-11-26.