Bugzilla – Attachment 29580 Details for
Bug 9810
Search limit 'available' does not hide damaged, withdrawn, or not-for-loan items
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9810 [Followup] - Hide items with notforloan < 0 when limiting to available items
Bug-9810-Followup---Hide-items-with-notforloan--0-.patch (text/plain), 1.09 KB, created by
Marcel de Rooy
on 2014-07-09 12:47:05 UTC
(
hide
)
Description:
Bug 9810 [Followup] - Hide items with notforloan < 0 when limiting to available items
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2014-07-09 12:47:05 UTC
Size:
1.09 KB
patch
obsolete
>From d74e452db51f12cda6a185b37585ee55247b1b96 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Thu, 29 May 2014 07:11:45 -0400 >Subject: [PATCH] Bug 9810 [Followup] - Hide items with notforloan < 0 when > limiting to available items >Content-Type: text/plain; charset=utf-8 > >Not for loan statuses of less then 0 are considered 'unavailable' in >Koha parlance, whereas items with a not for loan status greater than 0 >are considered available, but not checkout-able ( i.g. reference items ). > >This should be taken into account by the availability filter. >--- > C4/Search.pm | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index a680d3e..ac0b54b 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1520,6 +1520,7 @@ sub buildQuery { > and (lost,st-numeric=0) > and (damaged,st-numeric=0) > and (withdrawn,st-numeric=0) >+ and (notforloan,st-numeric,ge:0) > )"; > $limit_cgi .= "&limit=available"; > $limit_desc .= ""; >-- >1.7.7.6
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9810
:
16094
|
16402
|
16542
|
28526
|
29579
|
29580
|
29644
|
30573
|
30574
|
30575
|
30576
|
105399