]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 14:57:04 +0000 (15:57 +0100)
commit38666a8bd784dafe2934bdbd6fb3f1693f9ae442
tree27723cfb1ced169b1a3823a1f209e0eb9016b933
parent07d55778a67473018754bcc45016d03b0763256c
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>
misc/maintenance/compare_es_to_db.pl