[Koha-bugs] [Bug 18624] Software error when searching authorities in Elasticsearch - incorrect parameter "any" should be "all"
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 7 21:24:58 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18624
--- Comment #6 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 65592
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65592&action=edit
Bug 18624: Regression test for 'any' vs 'all'
This test makes it explicit that the only string producing _all as index on
build_authorities_query_compat is 'all'.
To test:
- Apply this patch
- Run:
$ sudo koha-shell kohadev
k$ cd kohaclone
k$ prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t
=> FAIL: Test fails because the list of valid values is wrong in Koha.
Note: this list has to be in sync with the templates passing the same values. A
followup will be added
to fix a discrepancy found between OPAC and Intranet.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list