Bug 22332 - Limit to currently available items in home library
Summary: Limit to currently available items in home library
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching - Zebra (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-14 02:11 UTC by Jessie Zairo
Modified: 2020-12-16 15:06 UTC (History)
9 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessie Zairo 2019-02-14 02:11:16 UTC
When performing a search in the staff client you have a facet option to limit to currently available items. It would be useful for multi site libraries to have a second option to limit to currently available items in their home library (library they are set to)
Comment 1 Lisette Scheer 2019-02-15 16:58:19 UTC
This would be very helpful!
Lisette
Comment 2 Magnus Enger 2020-02-12 09:51:36 UTC
But does "Limit to currently available items" work for you guys at all? It does not work for me in 19.05.07.
Comment 3 Christopher Brannon 2020-06-08 16:15:30 UTC
(In reply to Magnus Enger from comment #2)
> But does "Limit to currently available items" work for you guys at all? It
> does not work for me in 19.05.07.

No, apparently it does not.  Would like to see this fixed.
Comment 4 Christopher Brannon 2020-06-08 16:15:45 UTC
(In reply to Jessie Zairo from comment #0)
> When performing a search in the staff client you have a facet option to
> limit to currently available items. It would be useful for multi site
> libraries to have a second option to limit to currently available items in
> their home library (library they are set to)

+1
Comment 5 Holly 2020-06-22 14:22:19 UTC
According to Bug 11677 "limit to currently available items" should be working on the recent releases, however, I am testing on a 19.11.06 and while results are being limited, they are including items marked as Lost. Based on the test plan in Bug 11677, I assumed items marked as Lost would count as not available and records with Lost items and all other items checked out would not appear when the "limit to currently available items" was selected.

Is the "limit to currently available items" working or not working for others? 

Also +1 for the option to limit search results to items currently available in the patron home library.
Comment 6 Christopher Brannon 2020-06-22 15:26:23 UTC
(In reply to Holly from comment #5)
> According to Bug 11677 "limit to currently available items" should be
> working on the recent releases, however, I am testing on a 19.11.06 and
> while results are being limited, they are including items marked as Lost.
> Based on the test plan in Bug 11677, I assumed items marked as Lost would
> count as not available and records with Lost items and all other items
> checked out would not appear when the "limit to currently available items"
> was selected.
> 
> Is the "limit to currently available items" working or not working for
> others? 
> 
> Also +1 for the option to limit search results to items currently available
> in the patron home library.

We are also currently using 19.11.6, and this facet is messed up.  It isn't showing everything that is available, and it is showing things that shouldn't be.
Comment 7 Katrin Fischer 2020-06-22 20:50:41 UTC
I think I might be able to explain a bit:

If you have multiple items on a record, Zebra sees all the values and can search for them, but it's 'a pool' of values. 

If you search for available and a certain library, there will be an available item and one at the library, but it doesn't have to be the same item. The items get lost in indexing, as every item field is indexed separately.

That makes it harder to fix this - I guess you'd need to create a combined index of both values so you can search them in combination and ensure they are from the same item.