From 0002126a2ab0ac38a8d3f144f446dc3ba69dab59 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 16 Apr 2015 16:39:09 +0200 Subject: [PATCH] Bug 10355: paramater 'object' lost on the road Test plan: 1) Go to any detail page in staff 2) Click on the modification log tab 3) Verify, that the object is prefilled with the records biblionumber and you can also see it as parameter in the url 4) Click a second time on modification log to reset your search Before this patch, the object parameter was empty. It now contains the value of the biblionumber. Signed-off-by: Bernardo Gonzalez Kriegel Work as described, no koha-qa errors http://bugs.koha-community.org/show_bug.cgi?id=10335 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc | 2 +- tools/viewlog.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc index b2edbe6ef0..8d9ceecb21 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc @@ -30,7 +30,7 @@
    [% IF ( issuehistoryview ) %]
  • [% ELSE %]
  • [% END %] Checkout history
  • -[% IF ( CAN_user_tools_view_system_logs ) %][% IF ( logview ) %]
  • [% ELSE %]
  • [% END %]Modification log
  • [% END %] +[% IF ( CAN_user_tools_view_system_logs ) %][% IF ( logview ) %]
  • [% ELSE %]
  • [% END %]Modification log
  • [% END %]
diff --git a/tools/viewlog.pl b/tools/viewlog.pl index a382fc8ae5..a13ec5faf2 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -101,6 +101,7 @@ if ( $src eq 'circ' ) { $template->param( debug => $debug, C4::Search::enabled_staff_search_views, + object => $object, ); if ($do_it) { @@ -167,7 +168,6 @@ if ($do_it) { datefrom => $datefrom, dateto => $dateto, user => $user, - object => $object, info => $info, src => $src, modules => \@modules, -- 2.39.5