Bug 22310

Summary: Show items as On Order in search results without allowing holds
Product: Koha Reporter: Andrew Fuerste-Henry <andrewfh>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: RESOLVED FIXED QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: josef.moravec, kelly, michele.perry
Version: 18.05   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:

Description Andrew Fuerste-Henry 2019-02-11 17:13:33 UTC
If we use a NotforLoan value of a positive number, the item does not allow holds and shows in opac-search.pl with the status "Available for Reference."

If we use a NotForLoan value of a negative number, the item does allow holds and shows in opac-search.pl with the status "On Order."

There's an assumption here that items that don't allow holds will always be reference, which isn't always the case. Some libraries wish to show On Order materials in the OPAC, label them as On Order in opac-search.pl, and block holds.
Comment 1 Michele 2019-02-11 17:38:49 UTC
This bug is being looked into and repaired to fix the problem of On-Order records being available for loan or reference in this case.  This needs to cleared up quickly because it affects all item types that are Not For Loan; which includes discard.  The item that shows available for reference is in the recycling bin.
Comment 2 Katrin Fischer 2023-09-23 10:11:10 UTC
Hi believe this is resolved with the Reference_NFL_Statuses system preference. It allows to configure which status show as reference/for loan and it works with -1  (just tested)