Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3186

Member search selects option value=0 for custom field even if it is not the default value


    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.1
    • Component/s: CiviMember
    • Labels:


      I created Membership Type=NY Subscription
      Then I created a Custom Data Group=NY Membership Donations
      Then I added a custom field="NY Support level" with field-type=Radio and this field is searchable
      Then I added 3 multiple-choice options:
      1. "Supporter" with Option value=10, I also set this to be the default value
      2. "Card" with option value=20
      3. "Other" with Option value=0

      There are 2 issues:
      1. When I click on "find members" the search screen displays and instead of there being a dot in the circle for "supporter", which is the default, there is a dot in the circle for "other". in fact, any field that has an option value=0 will be the one that is selected. If i change the option value for other from zero to one, nothing is selected, It would seem to be that if anything is automaticallyn selected here it should be the default value and shoudl not be linked to the option value at all. Of couse a way aorund this is simply not to use option value=0 at all
      2. If Other is selected on the search screen I can "unselect" it by clicking in the unselect link. Butu when the results of my search are presented, Other is once again selected but i can't see it without clicking on the plus sign next to "edit search criteria". then I have to unselect it again to get the export to work. If I don't do thia my export file is empty except for the header.

      I replicated this on the demo 2.0.13195 on 6/6/08 at 5pmEST





            • Assignee:
              sunil Sunil Pawar
              ctarascio Cynthia Tarascio
            • Votes:
              0 Vote for this issue
              0 Start watching this issue


              • Created: