From 66036d0eb611dbacc106b610b0a3507ba58536d7 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 9 May 2016 20:33:15 -0400 Subject: [PATCH] Bug 16484 - Virtualshelves: Using no XSLTResultsDisplay breaks content display in intranet To test: 1 - Create a list in staff client 2 - Set XSLTResultsDisplay to blank 3 - View list, titles don't display 4 - Apply patch 5 - View list, titles display 6 - Set XSLTResultsDisplay to default 7 - View list, titles display as before patch Signed-off-by: Marc Veron Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall (cherry picked from commit 6c0e8feb79513598c3837b1a8f6a35dba18a786f) Signed-off-by: Julian Maurice --- virtualshelves/shelves.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index 12783053dc..c2bd6ada61 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -227,6 +227,7 @@ if ( $op eq 'view' ) { my $marcflavour = C4::Context->preference("marcflavour"); my $itemtypeinfo = getitemtypeinfo( $content->biblionumber->biblioitems->first->itemtype, 'intranet' ); + $this_item->{title} = $content->biblionumber->title; $this_item->{author} = $content->biblionumber->author; $this_item->{dateadded} = $content->dateadded; $this_item->{imageurl} = $itemtypeinfo->{imageurl}; -- 2.39.5