From 7a6b4aea051f59551214650ad8f038b1f6ba3b08 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Tue, 19 Apr 2016 17:18:41 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 16296 - Fix records displaying in virtualshelves Test plan: - Empty OPACXSLTResultsDisplay system preference, - select a virtual shelf in the dropdown list "Lists" on navigation bar (Or create one and add records), - check that records are correctly displayed (title, author, publisher etc...). Signed-off-by: Bernardo Gonzalez Kriegel Display is now correct No errors --- opac/opac-shelves.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 258044b..3d17bd6 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -250,8 +250,8 @@ if ( $op eq 'view' ) { my @items; while ( my $content = $contents->next ) { - my $this_item; my $biblionumber = $content->biblionumber->biblionumber; + my $this_item = GetBiblioData($biblionumber); my $record = GetMarcBiblio($biblionumber); if ( C4::Context->preference("OPACXSLTResultsDisplay") ) { -- 1.9.1