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

civicrm_contact_search() ignores $params values

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      civicrm_contact_search() is intended to handle the following values in its $params array:

      $otherVars = array( 'sort', 'offset', 'rowCount' );

      however, because of a syntax error it ignores them.

      simple fix is to replace array_key_exists() with in_array() about 13 lines into the function

      see http://forum.civicrm.org/index.php/topic,2733.0.html

        Attachments

          Activity

            People

            • Assignee:
              shot Piotr Szotkowski
              Reporter:
              xurizaemon Chris Burgess
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: