Bug 6081 - Do not show "not for loan" description if false
Summary: Do not show "not for loan" description if false
Status: CLOSED INVALID
Alias: None
Product: Koha
Classification: Unclassified
Component: Searching (show other bugs)
Version: 3.4
Hardware: All All
: PATCH-Sent (DO NOT USE) enhancement (vote)
Assignee: Fridolin Somers
QA Contact: Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-06 09:47 UTC by Fridolin Somers
Modified: 2011-05-23 07:26 UTC (History)
1 user (show)

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


Attachments
Proposed patch (1.26 KB, patch)
2011-04-06 10:00 UTC, Fridolin Somers
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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.