Bug 31304

Summary: Add ability to customise availability searching
Product: Koha Reporter: Nick Clemens (kidclamp) <nick>
Component: SearchingAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: jeremy.evans, lisette.scheer
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9810
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Nick Clemens (kidclamp) 2022-08-08 12:13:24 UTC
Currently in Zebra 'limit to available' means:
## 'available' is defined as (items.onloan is NULL) and (items.itemlost = 0)

Bug 25375 proposed for ES a slightly wider net:
 783                     onloan       => undef,
 784                     notforloan   => 0,
 785                     withdrawn    => 0,
 786                     itemlost     => 0,
 787                     damaged      => 0

We should have a configuration for this, a way to allow libraries to decide which statuses are available/unavailable
Comment 1 Jeremy Evans 2023-03-21 16:07:02 UTC
We would support this.    
Our electronic resources have a custom notforloan setting of Online Resource to prevent people checking them out or placing holds etc.
We would like to be able to have an additional custom availability setting of "Available online" for items that can be viewed online - currently limiting to available items removes these from the search results.
Comment 2 Katrin Fischer 2023-03-21 21:32:06 UTC
(In reply to Jeremy Evans from comment #1)
> We would support this.    
> Our electronic resources have a custom notforloan setting of Online Resource
> to prevent people checking them out or placing holds etc.
> We would like to be able to have an additional custom availability setting
> of "Available online" for items that can be viewed online - currently
> limiting to available items removes these from the search results.

If you have 22.11 you could probably add the "Available online" as a custom search filter. See: bub 17170
Comment 3 Katrin Fischer 2023-03-21 21:32:20 UTC
> If you have 22.11 you could probably add the "Available online" as a custom
> search filter. See: bug 17170