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

member_is_primary not set by default on passing owner in the url

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.0
    • Fix Version/s: 4.7.25
    • Component/s: None
    • Labels:
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding
    • Verified?:
      No

      Description

      https://github.com/civicrm/civicrm-core/blob/master/CRM/Member/Form/Search.php#L355-L358 allows to set member_is_primary when url contains the owner parameter.

      Passing 2 doesn't enable "Yes" in the input radio element. To replicate -

      1. Navigate to http://dmaster.demo.civicrm.org/civicrm/member/search?reset=1&force=1&status=1,2,3&type=12&owner=1
      2. Open Search criteria and see that "Primary Member?" is not defaulted to any value.

        Attachments

          Activity

            People

            • Assignee:
              jitendra.purohit Jitendra Purohit
              Reporter:
              jitendra.purohit Jitendra Purohit
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: