[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
Mon Aug 8 15:19:52 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25375
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #138800|0 |1
is obsolete| |
--- Comment #30 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 138803
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138803&action=edit
Bug 25375: Match current Zebra availability limit
In Zebra the availability limit code states:
'available' is defined as (items.onloan is NULL) and (items.itemlost = 0)
We should make ES follow the same behaviour so that changing the engine does
not
change this.
To test:
1 - Find or create several records with two items each
2 - For those records setup items as:
a - one checked out, one available
b - both marked lost
c - both damaged
d - both withdrawn
e - both notforloan
3 - Enable ES and reindex to confirm everything is set
4 - Perform an advanced search to return those records and 'limit to available
items'
5 - Confirm you see records b,c,d,e and records say '2 items, none available'
6 - Apply patch
7 - Run `misc/search_tools/rebuild_elasticsearch.pl -d -b`
8 - Perform an advanced search to return those records and 'limit to available
items'
9 - Confirm you see records a,b,c,d and al but a say '2 items, none available'
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list