From 6b12d0f051723e07901b52278b71b481f366fddd 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...). --- 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") ) { -- 2.7.0