@@ -, +, @@ patron's logs --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 8 ++++++-- tools/viewlog.pl | 5 ----- 2 files changed, 6 insertions(+), 7 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -131,7 +131,11 @@
  • - + [% IF patron %][%# From the members module %] + [% object | html %] ([% INCLUDE 'patron-title.inc' patron => patron %] ) + [% ELSE %] + + [% END %]
  • @@ -276,7 +280,7 @@
    - [% IF ( circulation ) %] + [% IF patron %] [% INCLUDE 'circ-menu.inc' %] [% ELSE %] [% IF ( CATALOGUING ) %] --- a/tools/viewlog.pl +++ a/tools/viewlog.pl @@ -73,10 +73,6 @@ if ( $src eq 'circ' ) { use C4::Members::Attributes qw(GetBorrowerAttributes); my $borrowernumber = $object; my $patron = Koha::Patrons->find( $borrowernumber ); - my $circ_info = 1; - unless ( $patron ) { - $circ_info = 0; - } if ( C4::Context->preference('ExtendedPatronAttributes') ) { my $attributes = GetBorrowerAttributes( $borrowernumber ); $template->param( @@ -87,7 +83,6 @@ if ( $src eq 'circ' ) { $template->param( patron => $patron, - circulation => $circ_info, ); } --