Bugzilla – Attachment 19408 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.21 KB, created by
Kyle M Hall (khall)
on 2013-07-05 13:07:00 UTC
(
hide
)
Description:
Bug 5894 - Adding multiple items from a cart to a list shows only the first title
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-07-05 13:07:00 UTC
Size:
1.21 KB
patch
obsolete
>From e4642c4801bef9e510848f694693ceb4c5800461 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> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Passes koha-qa.pl, works as advertised. >--- > opac/opac-addbybiblionumber.pl | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > >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.2.5
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