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

Allow overriding sort in the getlist API without clobbering pager

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.15
    • Fix Version/s: 4.7.16
    • Component/s: CiviCRM API
    • Labels:
    • Versioning Impact:
      Minor (add functionality in backwards-compatible manner)
    • Documentation Required?:
      None
    • Funding Source:
      Contributed Code
    • Verified?:
      No

      Description

      Currently if you try to specify any options when using the getlist API (e.g. custom sort order), the pagination parameters will be clobbered.

      This can be fixed by adding the default options in separately after the default params are added in.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              agileware Agileware
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: