https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36562

Tomás Cohen Arazi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
                 CC|                            |[email protected]
             Status|Needs Signoff               |RESOLVED

--- Comment #2 from Tomás Cohen Arazi <[email protected]> ---
The way to do this, is to perform a:

curl -v -s -u koha:koha --request GET
http://kohadev.local/api/v1/checkouts?q={"patron_id":1}&_per_page=1&_page_1

and read the X-Total-Count header from the response.

I was about to point you to the http-client.js library, but it seems the .count
method hasn't been ported from the Vue counterpart. Look at the Vue one for
more information.

Adding Jonathan, maybe he can comment on why that's not there.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to