[Koha-bugs] [Bug 25375] Elasticsearch: Limit on available items does not work

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 5 12:24:24 CEST 2020


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

--- Comment #1 from Julian Maurice <julian.maurice at biblibre.com> ---
Created attachment 104356
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=104356&action=edit
Bug 25375: Fix 'available' facet in elasticsearch

Add a new boolean ES field named 'available', which is true if at least
one item is available, which means the item is not on loan, not
"notforloan", not withdrawn, not lost and not damaged

A full indexation is required

Test plan:
1. Apply patch and run updatedatabase.pl
2. Run `misc/search_tools/rebuild_elasticsearch.pl -d -b`
3. Make sure you have some biblios whose items are all unavailable, some
   biblios whose items are all available, and some biblios with at least
   one item available and at least one item unavailable
4. Use the 'available' filter on both opac and intranet and make sure it
   works as expected.

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


More information about the Koha-bugs mailing list