Open mpl-cwassen opened 2 years ago
It doesn't look like we have a way to get more than the default number of 10 patrons currently unfortunately. It looks like we'd need to make some changes to the searchQuery
function in order to allow the patronsperpage to be passed through correctly.
I took a look at our implementations at Richland and it doesn't look like we're ever directly calling patron->search
at any point. Some of the methods we're actively using are searchBasic
, searchAnd
, searchByBarcode
, searchDuplicate
, and searchEmail
.
I am using the Patron->Search function, and I have not figured out a way to paginate through the results. The API has an argument you can pass through called "patronsperpage" or "page", but passing any of these through as array items just gives an error that "Qualifier XXX not supported."
What is the correct way to iterate through all the results?