From f96e3617b590b43640663d934c1c60e7d96fa7e4 Mon Sep 17 00:00:00 2001 From: Alex Arnaud Date: Tue, 19 Apr 2016 17:18:41 +0200 Subject: [PATCH] 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 Signed-off-by: Marcel de Rooy Signed-off-by: Brendan Gallagher (cherry picked from commit 8c807b9466b005b2094320d7fabf07e9e91d3607) Signed-off-by: Julian Maurice --- 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 258044b176..3d17bd6026 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") ) { -- 2.39.5