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) »
  • Developer Discussion »
  • Report and Search UI Discussion (Moderators: CiviTeacher.com, TwoMice) »
  • Making the "event" filter more usable (esp. for large numbers of events)
Pages: [1]

Author Topic: Making the "event" filter more usable (esp. for large numbers of events)  (Read 3166 times)

TwoMice

  • Moderator
  • I post frequently
  • *****
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 03:57:14 pm
Stoob recently came to me with a problem in reports, which a simple customization fixed up:

Problem: When using the "event" filter in a report, Stoob's client was having a hard time finding the right event.  This client has almost 300 events, many of them having identical or very similar names, thus distinguishable only by start date and/or event_id.  But the event filter shows only the event titles, sorted by end_date.

Solution: A) We appended the start date and the ID to the filter option labels, and sorted them alphabetically by title.  B) We later decided to improve on this by prepending the start_date year, and sorting by year (DESC) and title (ASC).

For example, the filter as currently designed has options like this:
* Wilderness Explorers
* Hands on Science Live
* Wilderness Explorers
* Hands on Science Live
* etc.

Solution A looks like this:
* Wilderness Explorers :: 2011/05/01 (#121)
* Wilderness Explorers :: 2012/02/17 (#130)
* Hands on Science Live :: 2011/04/10 (#117)
* Hands on Science Live :: 2011/05/07 (#122)

Solution B looks like this:
* 2012 - Wilderness Explorers :: 2012/02/17 (#130)
* 2011 - Hands on Science Live :: 2011/04/10 (#117)
* 2011 - Hands on Science Live :: 2011/05/07 (#122)
* 2011 - Wilderness Explorers :: 2011/05/01 (#121)

Stoob suggested this (or some form of it) might be a good contribution to make.  I agree.  Anybody else?

Thanks,
Allen
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

CiviTeacher.com

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 04:11:02 pm
Thanks so much.

Please for those devs reviewing this, notice the subtle differences in the way the dates and titles are arranged.   I would hope we could commit an improvement patch to core that pleases the most organizations.

IMHO, almost all organizations could benefit by the addition of the start_date and id# at the end of the event title, even those who don't have many events.   Sort order is, I'm guessing, more debatable, as some organizations would prefer the list to be grouped by year, and others might not like this as much.

Feedback and suggestions, as well as examples of use-cases of your clients are welcome and appreciated so we can please the most people with our improvement.
« Last Edit: October 01, 2012, 04:22:44 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

TwoMice

  • Moderator
  • I post frequently
  • *****
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 04:33:00 pm
For clients who do a lot of events, I find it helps to make key operators aware of the event_id.  It leads to more clear conversation when you say "event 221" instead of "the Community Leaders forum we had in May 2010 in Pheonix".

For this reason, I've had good experience prepending the event_id to the list of events (in filters, and in participant registration forms), so users can just type in "221" to jump to the right item (in most browsers).

- A.
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 05:51:28 pm
+1
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 05:58:58 pm
This looks good to me - but not sure which option is better since we don't have that many events. One advantage to having the event title first is that you can type in first letter of event title and possibly jump (closer) to what you're looking for in the list. If year is first, I don't think that works.

I tweeted this post in hopes that others who have lots of events will chime in.
Protect your investment in CiviCRM by  becoming a Member!

SarahG (FountainTribe)

  • Ask me questions
  • ****
  • Posts: 782
  • Karma: 29
  • CiviCRM version: 4.4.7
  • CMS version: Drupal 6, Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 01, 2012, 08:31:57 pm
It seems very limiting to use a single "select" list to filter on events.    How about replacing the single event name list with a set of filters: such as start and end date widgets (same style as filtering on dates in the "Find Participants" search screen) , plus event types, plus a list of events.

I was thinking this would work similar to choosing state/province after choosing a country.   So after the user chooses an event type , and/or a date range then the list of event titles would shrink to only include events of that type/date range.
Did I help you? Please donate to the Civi-Make-It-Happen campaign  CiviCRM for mobile devices! 

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 02, 2012, 05:00:28 am
I like these improvements.

Quote
One advantage to having the event title first is that you can type in first letter of event title and possibly jump (closer) to what you're looking for in the list.

can we make the search wildcarded to avoid this issue? %string% i wouldn't have thought that affects performance until you start getting 100,000 events or so :)

that would mean you could also search via event ID, though maybe a 'search by ID' box would work better there (oops, feature creep - sorry).

Also i like the ID search but I haven't noticed the use of the # character anywhere else in the interface.  'ID' might be a safer and more obvious identifier'

Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

TwoMice

  • Moderator
  • I post frequently
  • *****
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 02, 2012, 08:11:38 am
Quote from: Michael McAndrew on October 02, 2012, 05:00:28 am
I haven't noticed the use of the # character anywhere else in the interface.  'ID' might be a safer and more obvious identifier'

Yes, good point.

Also, I'm not sure I understand which search you're referring to when you ask "can we make the search wildcarded".  Are we just talking about modifying one <select> list in report filters, or something more?

 -A.
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

CiviTeacher.com

  • Moderator
  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 02, 2012, 10:53:27 am
Solution A (top post) probably has the most universal appeal for the majority of orgs.

Sarah G, I agree it is limiting to search for event solely by title.   It would be nice to have an improved fully robust set of search filters as you suggest, but Allen and I don't have budget to make more happen at this point.   Shall we collect contributions, efforts, or do an MIH?

IMHO we need to focus on the task at hand, which is deciding how the title, id and date should be displayed in the most pleasing way for the majority of users. 

I vote "A".
« Last Edit: October 02, 2012, 12:02:52 pm by Stoob »
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Michael McAndrew

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1274
  • Karma: 55
    • Third Sector Design
  • CiviCRM version: various
  • CMS version: Nearly always Drupal
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Making the "event" filter more usable (esp. for large numbers of events)
October 03, 2012, 02:29:29 am
Quote
Also, I'm not sure I understand which search you're referring to when you ask "can we make the search wildcarded".  Are we just talking about modifying one <select> list in report filters, or something more?
sorry i was getting confused between event reports and event search and many other things. probably best to ignore but the general idea was where do you put the like, as is event_name LIKE '%string%' or CONCAT(event_name, event_date, event_id) LIKE '%string%' (feature creep)
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

TwoMice

  • Moderator
  • I post frequently
  • *****
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Re: Making the "event" filter more usable (esp. for large numbers of events)
November 02, 2012, 10:04:00 pm
Issue with patch is here: http://issues.civicrm.org/jira/browse/CRM-11141
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • Report and Search UI Discussion (Moderators: CiviTeacher.com, TwoMice) »
  • Making the "event" filter more usable (esp. for large numbers of events)

This forum was archived on 2017-11-26.