(bug #3786) fix items edition menu
authorNahuel ANGELINETTI <nahuel.angelinetti@biblibre.com>
Mon, 16 Nov 2009 14:45:57 +0000 (15:45 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 17 Nov 2009 15:27:13 +0000 (16:27 +0100)
This re-allow the user to go back to normal/isbd/marc view when he's in items edition page

cataloguing/additem.pl

index 44ec8ab..44e933b 100755 (executable)
@@ -536,6 +536,7 @@ $template->param(
     itemtagsubfield  => $itemtagsubfield,
     op      => $nextop,
     opisadd => ($nextop eq "saveitem") ? 0 : 1,
+    C4::Search::enabled_staff_search_views,
 );
 foreach my $error (@errors) {
     $template->param($error => 1);