]> 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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 13:18:56 +0000 (10:18 -0300)
commitdaa92a937193321c49c97cca5bad8809d7889d21
tree583ebdc587b9874f5b1c3777abe7850af3ff45be
parent1a99af35f68c7624193069579d3944b4863216f3
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>
misc/maintenance/compare_es_to_db.pl