https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25375
Joonas Kylmälä <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #132327|0 |1 is obsolete| | Attachment #132328|0 |1 is obsolete| | Attachment #132329|0 |1 is obsolete| | Attachment #132330|0 |1 is obsolete| | Attachment #138803|0 |1 is obsolete| | --- Comment #31 from Joonas Kylmälä <[email protected]> --- Created attachment 140053 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=140053&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. Signed-off-by: Andrew Fuerste-Henry <[email protected]> Signed-off-by: Nick Clemens <[email protected]> Signed-off-by: Nick Clemens <[email protected]> Signed-off-by: Joonas Kylmälä <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
