Bugzilla – Attachment 30643 Details for
Bug 9013
Cart in staff interface displays location pulled from Description (OPAC)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED OFF] Bug 9013 - Cart in staff interface displays location pulled from Description (OPAC)
SIGNED-OFF-Bug-9013---Cart-in-staff-interface-disp.patch (text/plain), 1.67 KB, created by
Nick Clemens (kidclamp)
on 2014-08-09 04:43:41 UTC
(
hide
)
Description:
[SIGNED OFF] Bug 9013 - Cart in staff interface displays location pulled from Description (OPAC)
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2014-08-09 04:43:41 UTC
Size:
1.67 KB
patch
obsolete
>From 5eb6129b4c18cd6a0c84bba7717e5caab9a16a9f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 16 Jul 2014 13:02:25 -0400 >Subject: [PATCH] [SIGNED OFF] Bug 9013 - Cart in staff interface displays > location pulled from Description (OPAC) > >When the cart in the staff client pulls description data for >items.location and items.ccode it pulls the value designated for the >OPAC--probably a cut-and-paste error when the feature was added to the >staff client. > >This patch removes the 'opac' parameter from GetKohaAuthorisedValues. > >To test you must have at least one LOC authorized value configured to >have different descriptions for staff and OPAC. Locate or edit an item >with that shelving location and add that record to the cart in the staff >client. > >When you view the cart, the shelving location description in the "Items" >column should show the description for the staff client, not the OPAC. > >Signed-off-by: Nick Clemens <nick@debian> >--- > basket/basket.pl | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/basket/basket.pl b/basket/basket.pl >index b30174e..7fa915c 100755 >--- a/basket/basket.pl >+++ b/basket/basket.pl >@@ -74,8 +74,8 @@ foreach my $biblionumber ( @bibs ) { > $hasauthors = 1; > } > >- my $shelflocations =GetKohaAuthorisedValues('items.location',$dat->{'frameworkcode'}, 'opac'); >- my $collections = GetKohaAuthorisedValues('items.ccode',$dat->{'frameworkcode'}, 'opac'); >+ my $shelflocations =GetKohaAuthorisedValues('items.location',$dat->{'frameworkcode'}); >+ my $collections = GetKohaAuthorisedValues('items.ccode',$dat->{'frameworkcode'}); > > for my $itm (@items) { > if ($itm->{'location'}){ >-- >1.7.10.4
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 9013
:
13271
|
29763
|
30643
|
30662