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 (Moderator: Donald Lobo) »
  • edit search criteria form not collapsing for smart groups
Pages: [1]

Author Topic: edit search criteria form not collapsing for smart groups  (Read 998 times)

stella

  • Guest
edit search criteria form not collapsing for smart groups
July 23, 2009, 10:07:46 am
I had an issue recently where a client wanted to be able to directly link to /civicrm/contact/search/advanced?reset=1&force=1&gid=26 However as group 26 was a smart group, the "edit search criteria" form was always uncollapsed and not even collapsible.  I believe this is the desired functionality when editing a smart group, but not for me when I wanted to link to the results. 

I created a small patch for civiCRM which supports the current behaviour but also supports a new '&collapse=1' in the URL which allows the form to be collapsed even for smart groups.

Cheers,
Stella

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: edit search criteria form not collapsing for smart groups
July 23, 2009, 11:00:54 am
good job :) that sounds really useful.
Service providers: Grow your business, build your reputation and support CiviCRM. Become a partner today

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • edit search criteria form not collapsing for smart groups

This forum was archived on 2017-11-26.