]> git.koha-community.org Git - koha.git/commit
Bug 17132 - Availability search broken when using Elastic
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 15 Aug 2016 18:12:44 +0000 (18:12 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Tue, 22 Nov 2016 11:26:18 +0000 (11:26 +0000)
commitd91e75919a234ffeae27acf164055db69aa714ab
treeae13c0441297f67e41ef0de1e0903227a7dd1a1c
parentd9be9950b3d59f43d997ca9ead5860fba0274fe0
Bug 17132 - Availability search broken when using Elastic

Elastic appears to be indexing onloan as a string, but our code assumes
it is a boolean.

Test Plan:
1) Ensure you are set up using Elastic as your search engine
2) Search only for available items from the advanced search
3) Note you get no results
4) Apply this patch
5) Re-run the search
6) You should now get results!

Signed-off-by: Jennifer Schmidt <jschmidt@switchinc.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm