Koha-clms/Koha/REST/V1
Jonathan Druart 8f96db1238 Bug 38177: Do not use stash to retrieve parameters
The pagination for EBSCO's titles, packages and resources is broken. We
shouldn't rely on $c->stash but use params from the request instead.

Test plan:
1) Setup all the system preferences in ERM:
<staff_url>/cgi-bin/koha/admin/preferences.pl?tab=erm
2) Enable EBSCO in ERMProviders. Set the ERMProviderEbscoApiKey and ERMProviderEbscoCustomerID prefs.
3) Do a search that returns more than 20 records. Click on a page other than 1. Notice the records do not change (Page is the same).
4) Apply patch. Repeat. Notice pagination now works.

Search titles, packages and resources
Use the pagination and modify the number of results per page

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 61b3aa2aa2)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-11-20 18:34:36 +00:00
..
Acquisitions Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Auth Bug 36937: Remove warning from unit tests 2024-07-18 17:42:16 +00:00
Biblios Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
CashRegisters Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
Clubs Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
Config/SMTP Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
ERM Bug 38177: Do not use stash to retrieve parameters 2024-11-20 18:34:36 +00:00
ILL Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
OAuth Bug 36219: Re-add missing state param for Oauth/OIDC client 2024-03-04 14:50:41 +01:00
Patrons Bug 37535: Adding a debit via API will show the belated patron as the librarian that caused the debit 2024-11-18 18:40:08 +00:00
Preservation Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
AdvancedEditorMacro.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
ArticleRequests.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Auth.pm Bug 36420: Allow Basic authentication using `cardnumber` 2024-04-18 16:51:14 +02:00
AuthorisedValueCategories.pm Bug 34920: Return sorted av_cats to be able to test 2024-11-18 17:12:49 +00:00
AuthorisedValues.pm Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
Authorities.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
BackgroundJobs.pm Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
Biblios.pm Bug 36120: (QA follow-up) Fix /biblios.t unit test 2024-05-03 16:02:53 +02:00
Bookings.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Checkouts.pm Bug 37076: Fix incorrect needsconfirmation code 2024-11-15 17:41:19 +00:00
CirculationRules.pm
…
Cities.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
DeletedBiblios.pm Bug 33960: Add routes and controller 2024-04-22 08:57:50 +02:00
ERM.pm
…
Holds.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
ImportBatchProfiles.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
ImportRecordMatches.pm Bug 36495: Use render_resource_not_found() helper everywhere 2024-04-26 18:06:13 +02:00
ItemTypes.pm Bug 34008: (QA follow-up) 'item_type_id' should be used 2023-11-01 17:23:15 -03:00
Items.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Libraries.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
OAuth.pm
…
Patrons.pm Bug 36505: (follow-up) Consistent error codes in POST 2024-04-26 18:06:16 +02:00
Preservation.pm Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
Quotes.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
RecordSources.pm Bug 37672: Make V1/RecordSources.pm use more helpers 2024-11-15 16:25:15 +00:00
ReturnClaims.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
SearchFilter.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Stage.pm
…
Static.pm
…
Suggestions.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
Tickets.pm Bug 35657: Add support for assignee_id to ticket_updates endpoint 2024-05-02 15:03:35 +02:00
TransferLimits.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00
TwoFactorAuth.pm Bug 36495: Use render_resource_deleted() helper everywhere 2024-04-26 18:06:14 +02:00