From 565574ffb7984ba82ca86a69039e9cde0e5b1a0b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 16 Oct 2015 11:02:33 +0100 Subject: [PATCH] Bug 14544: Fixes regression: display author and dateadded on the list view [intranet] --- virtualshelves/shelves.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index 5a82e0b..3dfa211 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -226,6 +226,8 @@ if ( $op eq 'view' ) { my $marcflavour = C4::Context->preference("marcflavour"); my $itemtypeinfo = getitemtypeinfo( $content->biblionumber->biblioitems->first->itemtype, 'intranet' ); + $this_item->{author} = $content->biblionumber->author; + $this_item->{dateadded} = $content->dateadded; $this_item->{imageurl} = $itemtypeinfo->{imageurl}; $this_item->{description} = $itemtypeinfo->{description}; $this_item->{notforloan} = $itemtypeinfo->{notforloan}; -- 2.1.0