From 81f63a4d5d95ee33dc5324e1bd7271921a73dfbd Mon Sep 17 00:00:00 2001 From: Lyon3 Team Date: Mon, 2 Apr 2012 11:53:16 +0200 Subject: [PATCH] Replace itemnumber by barcode in links of patron modification log in the ISSUE and RETURN links to item http://bugs.koha-community.org/show_bug.cgi?id=7870 Signed-off-by: Liz Rea Passes tests, works as expected. Perhaps for followup - items that have been deleted are linked, but do not work. If an itemnumber doesn't exist, it should not be linked. Signed-off-by: Paul Poulain --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt | 2 +- tools/viewlog.pl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt index 343028efda..a56a10fbb1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt @@ -193,7 +193,7 @@ [% IF ( loopro.CIRCULATION ) %] - Item [% loopro.info |html %] + Item [% loopro.barcode |html %] [% ELSE %] [% loopro.info |html %] [% END %] diff --git a/tools/viewlog.pl b/tools/viewlog.pl index d42503e591..e7d8e02f5e 100755 --- a/tools/viewlog.pl +++ b/tools/viewlog.pl @@ -123,6 +123,7 @@ if ($do_it) { my $item=GetItem($itemnumber); $result->{'biblionumber'}=$item->{'biblionumber'}; $result->{'biblioitemnumber'}=$item->{'biblionumber'}; + $result->{'barcode'}=$item->{'barcode'}; } } -- 2.11.4.GIT