[Koha-bugs] [Bug 22874] New: Limit to available items doesn't work with elasticsearch 6.x

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 9 12:29:07 CEST 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22874

            Bug ID: 22874
           Summary: Limit to available items doesn't work with
                    elasticsearch 6.x
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com
  Target Milestone: ---

Currently we send "onloan:0" to ES to get records with available items.
But ES 6 does not considers 0 as a valid boolean.

On ES 6.x:
onloan:0 => doesn't work
onloan:false => works

On ES 5.x:
onloan:0 => works
onloan:false => works

So it seems we can have compatibility for both ES 5 and ES 6 by using false
instead of 0.

Patch is coming.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list