From 2b212a07617237b5bf51c401aa7c340b67248db6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 25 Aug 2015 15:32:19 +0100 Subject: [PATCH] Bug 14544: Fix regression: checkboxes'values are empty They should be filled with the biblionumber --- opac/opac-shelves.pl | 3 ++- virtualshelves/shelves.pl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/opac/opac-shelves.pl b/opac/opac-shelves.pl index 2bedf05..6c2f0b9 100755 --- a/opac/opac-shelves.pl +++ b/opac/opac-shelves.pl @@ -273,8 +273,9 @@ if ( $op eq 'view' ) { if ( $query->param('rss') ) { $this_item->{title} = $content->biblionumber->title; $this_item->{author} = $content->biblionumber->author; - $this_item->{biblionumber} = $biblionumber; } + + $this_item->{biblionumber} = $biblionumber; push @items, $this_item; } diff --git a/virtualshelves/shelves.pl b/virtualshelves/shelves.pl index 5208f17..47fa1bc 100755 --- a/virtualshelves/shelves.pl +++ b/virtualshelves/shelves.pl @@ -233,6 +233,7 @@ if ( $op eq 'view' ) { # Getting items infos for location display my @items_infos = &GetItemsLocationInfo( $biblionumber ); $this_item->{'ITEM_RESULTS'} = \@items_infos; + $this_item->{biblionumber} = $biblionumber; push @items, $this_item; } -- 2.1.0