CRM-19202 Exporting an OR search exports with selected fields

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.9
    • Fix Version/s: 4.7.11
    • Component/s: None
    • Documentation Required?:
      None
    • Funding Source:
      Core Team Funds

      Description

      When exporting an OR search, if I select the fields it exports as if it was an AND search. Exporting with PRIMARY fields then it exports correctly but this is not ideal.

        Attachments

          Activity

          [CRM-19202] Exporting an OR search exports with selected fields
          Monish Deb added a comment -

          Franzi Ortiz can provide a use-case in steps so it would be easy to replicate ?

          Franzi Ortiz added a comment -

          Sure, here are the steps I took to replicate this:

          1) Run an Advanced Search with the Search Operator set to 'OR' and multiple criteria.
          2) Select ALL records
          3) Select the export contacts action
          4) The contacts exported do not match the contacts in search

          Its as if it was exported with an AND search. As a note, I have also applied the fix in this ticket: https://issues.civicrm.org/jira/browse/CRM-18585

          Monish Deb added a comment -

          Tested working fine.

          Franzi Ortiz added a comment -

          Thank you that worked perfectly!

            People

            • Assignee:
              Monish Deb
              Reporter:
              Franzi Ortiz

              Dates

              • Created:
                Updated:
                Resolved: