Bug 17132 - Availability search broken when using Elastic
commitb3bdd760be3dcd702fe5cce080b693fe51b6c6ca
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 15 Aug 2016 18:12:44 +0000 (15 18:12 +0000)
committerMason James <mtj@kohaaloha.com>
Mon, 12 Dec 2016 01:54:13 +0000 (12 14:54 +1300)
treeab1b5aa751b6df6c5e8867578728c673d7877c74
parent36ead4dee52b2ef7b887d4c88feefa7207251a89
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: Mason James <mtj@kohaaloha.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm