]> git.koha-community.org Git - koha.git/commit
Bug 22874: Use false instead of 0 value for limiting on availability
authorAlex Arnaud <alex.arnaud@biblibre.com>
Thu, 9 May 2019 12:39:51 +0000 (12:39 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 28 Oct 2019 12:24:34 +0000 (12:24 +0000)
commit7df185c7838f415b40de2e8f3ec918e96f8481cb
tree04800e756fe26b8a7f8827b06626fec395dfd9a9
parentc474b164565bac384b713ffc1b8622fc88567217
Bug 22874: Use false instead of 0 value for limiting on availability

Test plan

  - Set up a elasticsearch 6 instance to work with Koha,
  - you may need to make koha works with ES 6 (see bug 20589),
  - make a search and limit it to available items only,
  => no result

  - Apply this patch,
  - make a search and limit it to available items only,
  - you should get some results

  - Do the same with ES 5.x

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Koha/SearchEngine/Elasticsearch/QueryBuilder.pm
t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t