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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Multi-Select Search not resetting after search.
Pages: [1]

Author Topic: Multi-Select Search not resetting after search.  (Read 1457 times)

Chris7789

  • Guest
Multi-Select Search not resetting after search.
February 18, 2009, 07:25:58 am
Hi,

I have a multi-select with 5 multiple choice options. However when using the Profile search form I cannot remove the select values after doing the search.

Going to New Search does not reset what I have selected. Even if I unselect the values it still searches for them.

Any help? Be much appreciated.

Thanks

Chris

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Multi-Select Search not resetting after search.
February 18, 2009, 08:23:57 am
hi Chris

This was a bug in v2.0 we have fixed this for v2.1
for fix go to CRM/Profile/Page/Listings.php line around 168
Code: [Select]
if ( $customField['html_type'] == 'CheckBox' ) {
change to
if ( in_array( $customField['html_type'], array( 'CheckBox', 'Multi-Select' ) ) ) {

I think this will work.
It would be good if you update your forum profile with CiviCRM version, CMS, Mysql, php etc

kiran
You Are Designed To Choose... Defined By Choice.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Multi-Select Search not resetting after search.

This forum was archived on 2017-11-26.