diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm index 1e44bc9493..b32424ed70 100644 --- a/C4/VirtualShelves/Page.pm +++ b/C4/VirtualShelves/Page.pm @@ -233,10 +233,10 @@ SWITCH: { if (my $count = scalar @$contents){ unless (scalar grep {/^CONFIRM-$number$/} $query->param()) { if (defined $shelflist->{$number}) { - push(@paramsloop, {need_confirm=>$shelflist->{$number}->{shelfname}, count=>$count}); + push(@paramsloop, {shelf=>$number, need_confirm=>$shelflist->{$number}->{shelfname},shelftype=>"public", count=>$count}); $shelflist->{$number}->{confirm} = $number; } else { - push(@paramsloop, {need_confirm=>$privshelflist->{$number}->{shelfname}, count=>$count}); + push(@paramsloop, {shelf=>$number,need_confirm=>$privshelflist->{$number}->{shelfname},shelftype=>"private", count=>$count}); $privshelflist->{$number}->{confirm} = $number; } $stay = 0; diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl index e91aaced2e..1487d14118 100644 --- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl +++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl @@ -50,9 +50,6 @@ $(function() { }); $(document).ready(function(){ - - $(".hold").html("Place Hold"); - $("#tagsel_tag").text("Tag"); $("#tagsel_button").click(function(){ @@ -83,7 +80,16 @@ $(document).ready(function(){