Bug 6081

Summary: Do not show "not for loan" description if false
Product: Koha Reporter: Fridolin Somers <fridolin.somers>
Component: SearchingAssignee: Fridolin Somers <fridolin.somers>
Status: CLOSED INVALID QA Contact: Bugs List <koha-bugs>
Severity: enhancement    
Priority: PATCH-Sent (DO NOT USE) CC: chris
Version: 3.4   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Proposed patch

Description Fridolin Somers 2011-04-06 09:47:39 UTC
In search results,
Do not show "not for loan" description if false (=0).
Items with false value in "notforloan" will be in available ones so there is no need to show it.
Comment 1 Fridolin Somers 2011-04-06 10:00:50 UTC
Created attachment 3731 [details] [review]
Proposed patch
Comment 2 Owen Leonard 2011-05-05 15:41:21 UTC
Can you describe the circumstances under which this bug can be observed? Perhaps include a screenshot?
Comment 3 Fridolin Somers 2011-05-23 07:26:02 UTC
I've looked into actual code :

The line modified by this patch is in a conditional section :
$item->{notforloan} > 0

So the notforloan can't be 0 in this place.

This bug is obsolete.