Skip to content

Commit

Permalink
CRM: Add the order capability to the API events endpoint. (#38838)
Browse files Browse the repository at this point in the history
* Add to the API event the pagination order support.

* changelog

* Update API pagination processing with new function

* Refactor jpcrm_api_process_pagination for cleaner syntax

* Add sort order for customer search

* Make ASC the default sort order

* Add sort order for quotes

* Add order for invoices

* Add order for transactions

* Update code to use DAL call

* Update code to use DAL call

* Remove unneeded ignoreowner argument

* Make DESC the default sort order (better this way)

---------

Co-authored-by: gogdzl <diego.rodrigues@automattic.com>

Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/12715658068

Upstream-Ref: Automattic/jetpack@6296b27
  • Loading branch information
gogdzl authored and matticbot committed Jan 10, 2025
1 parent ab4692f commit 5f197ac
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 5f197ac

Please sign in to comment.