Bugzilla – Attachment 19289 Details for
Bug 5894
Adding multiple items from a cart to a list shows only the first title
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 5894 - Adding multiple items from a cart to a list shows only the first title
Bug-5894---Adding-multiple-items-from-a-cart-to-a-.patch (text/plain), 1.10 KB, created by
Chris Cormack
on 2013-06-30 07:21:09 UTC
(
hide
)
Description:
Bug 5894 - Adding multiple items from a cart to a list shows only the first title
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-06-30 07:21:09 UTC
Size:
1.10 KB
patch
obsolete
>From 908c07b7fd6b2c977d7551a5971a6b8e03ab7c01 Mon Sep 17 00:00:00 2001 >From: Marc Veron <veron@veron.ch> >Date: Fri, 14 Jun 2013 16:37:23 +0200 >Subject: [PATCH] Bug 5894 - Adding multiple items from a cart to a list shows > only the first title > >Adds missing code that splits biblios before calling template. > >To test: >Add some items to cart >Open cart, select some or all items >Add to list >With patch, following window shold show something like "Add 3 items to a list:", followed by list of items > >Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> >--- > opac/opac-addbybiblionumber.pl | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl >index 6069e76..004577d 100755 >--- a/opac/opac-addbybiblionumber.pl >+++ b/opac/opac-addbybiblionumber.pl >@@ -143,6 +143,10 @@ sub HandleSelect { > } > > sub LoadBib { >+ #see comment in AddBibliosToShelf >+ if (scalar(@biblionumber) == 1) { >+ @biblionumber = (split /\//,$biblionumber[0]); >+ } > for my $bib (@biblionumber) { > my $data = GetBiblioData( $bib ); > push(@biblios, >-- >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 5894
:
19015
|
19289
|
19408