Details
Description
Rationale
========
Some organizations may conduct a large number of Events. The current Manage Events interface puts all events on a single page, and there is no mechanism to search for an event or filter event listings.
Implementation
=============
You can use the Browse Mailings implementation as a model for this issue (CRM-2266)
1. Add our standard AtoZ Pager to the Manage Events selector. Behaviors are the same as for contact selector - using the Event Title as the handle for alpha filtering.
- AtoZPager element is always included. Letters are linked to filter action when one or more title(s) start with that letter.
- Go to page / next-previous .... element is included when number of returned rows is greater than "rows per page" value.
2. Add a simple search form above the selector. Search is on Event Title and/or Type and/or Date Range (of event.start_date).
Search fields (place side-by-side to minimize horizontal space)
------------------------------------------------------------------------------------
Label = "Find", Type = Text
Desc = Full or partial Group name.
Label = "Type", Type = Checkbox
Option values = select from civicrm_option_value where option_group.name = event_type
Label = "From", Type = date selector w/ dojo widget
Label = "To", Type = date selector w/ dojo widget
NOTE: I think we should use LIKE '$titlestring%' in the search query
3. Move "Show Past Events" link above selector - right aligned.