From bed99a851646fd0c7a4c906dd9dfe60c485b40c6 Mon Sep 17 00:00:00 2001 From: Marc Veron Date: Fri, 14 Jun 2013 16:37:23 +0200 Subject: [PATCH] Bug 5894: Display all titles when confirming copy of items from cart to list 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 Signed-off-by: Kyle M Hall Passes koha-qa.pl, works as advertised. Signed-off-by: Galen Charlton --- opac/opac-addbybiblionumber.pl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/opac/opac-addbybiblionumber.pl b/opac/opac-addbybiblionumber.pl index 6069e76a70..004577d313 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, -- 2.39.5