Bugzilla – Attachment 3731 Details for
Bug 6081
Do not show "not for loan" description if false
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
0001-BUG6081-In-search-results-do-not-show-notforloan-if-.patch (text/plain), 1.26 KB, created by
Fridolin Somers
on 2011-04-06 10:00:50 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2011-04-06 10:00:50 UTC
Size:
1.26 KB
patch
obsolete
>From 51b62f891926eec923b0187f3f0612023cf2ea73 Mon Sep 17 00:00:00 2001 >From: Fridolyn SOMERS <fridolyn.somers@progilone.fr> >Date: Wed, 6 Apr 2011 11:55:47 +0200 >Subject: [PATCH] BUG6081 In search results, do not show notforloan if false > >--- > C4/Search.pm | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > >diff --git a/C4/Search.pm b/C4/Search.pm >index c69e787..9eac229 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -1675,7 +1675,8 @@ sub searchResults { > } > $other_items->{$key}->{intransit} = ($transfertwhen ne '') ? 1 : 0; > $other_items->{$key}->{onhold} = ($reservestatus) ? 1 : 0; >- $other_items->{$key}->{notforloan} = GetAuthorisedValueDesc('','',$item->{notforloan},'','',$notforloan_authorised_value) if $notforloan_authorised_value; >+ $other_items->{$key}->{notforloan} = GetAuthorisedValueDesc('','',$item->{notforloan},'','',$notforloan_authorised_value) >+ if ($notforloan_authorised_value && $item->{notforloan}); > $other_items->{$key}->{count}++ if $item->{$hbranch}; > $other_items->{$key}->{location} = $shelflocations->{ $item->{location} }; > $other_items->{$key}->{imageurl} = getitemtypeimagelocation( $search_context, $itemtypes{ $item->{itype} }->{imageurl} ); >-- >1.7.1 >
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 6081
: 3731