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) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Clear/Reset Search Parameters in Member List
Pages: [1]

Author Topic: Clear/Reset Search Parameters in Member List  (Read 671 times)

bwold

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Clear/Reset Search Parameters in Member List
July 21, 2010, 01:56:17 pm
We're using a smart group to publish a menu item for "Current Members." (In Joomla, if that matters in this case.) Works great initially, but if you expand the search criteria and type a value, that search persists throughout any future browsing you do. So, for example, if you go back to the menu item for Current Members, you don't get the current members: you get the results of your previous search. And it's really unclear how to clear that search.

Most users will not know that they must clear all the search fields... especially when the searching function has collapsed and is not visible.

Is there a way to force clear any searches when a profile/smart group is loaded?

Thanks in advance,

-B

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Clear/Reset Search Parameters in Member List
July 25, 2010, 10:44:10 pm
Quote
Is there a way to force clear any searches when a profile/smart group is loaded?

I am not able to understand your usecase from the provided details, but if you append "&reset=1" in the url it should reset your searches.

HTh
Kurund
Found this reply helpful? Support CiviCRM

bwold

  • I’m new here
  • *
  • Posts: 13
  • Karma: 0
Re: Clear/Reset Search Parameters in Member List [SOLVED]
July 26, 2010, 08:34:13 am
Thank you for the reply. Yes, &reset=1 works. I've added it to the menu item and also set up a custom template that includes the url as a text link, set to float right in the area that shows the current search parameters.

That should do it.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Clear/Reset Search Parameters in Member List

This forum was archived on 2017-11-26.