]> git.koha-community.org Git - koha.git/commit
Bug 33626: Remove invalid params
authorNick Clemens <nick@bywatersolutions.com>
Thu, 27 Apr 2023 11:23:03 +0000 (11:23 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Tue, 13 Jun 2023 16:02:57 +0000 (16:02 +0000)
commitb0d427115cfa18064cfc0405741aaf0f6a4e2a9a
tree2e1d91947f928963a6fbfc5bbb53691014f1d129
parenta7058da8df97a01ee9667fa1ace50d962f7658ee
Bug 33626: Remove invalid params

This patch reformats the params passed to scroll_helper as defined here:
https://metacpan.org/pod/Search::Elasticsearch::Client::7_0::Scroll

To test:
1 - perl misc/maintenance/compare_es_to_db.pl
2 - It dies:
[Param] ** Unknown param (scroll_in_qs) in (search) request. , called from sub Search::Elasticsearch::Client::7_0::Direct::scroll_helper at misc/maintenance/compare_es_to_db.pl line 55.
3 - Apply patch
4 - Repeat
5 - It succeeds!

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit daa92a937193321c49c97cca5bad8809d7889d21)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 38666a8bd784dafe2934bdbd6fb3f1693f9ae442)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
misc/maintenance/compare_es_to_db.pl