From 626e66effa7cb20ac26017e6c74cd6084e7870c7 Mon Sep 17 00:00:00 2001 From: Michael Hafen Date: Fri, 29 Aug 2008 13:36:51 -0600 Subject: [PATCH] If itemnumber is sent to catalogue/moredetail.pl use it If itemnumber is part of the url for catalogue/moredetail.pl put it to use. This happens in members/boraccount.pl if a fine is attached to a barcode. This patch makes moredetail.pl show only the item specified by itemnumber. Implements some changes to the patch suggested on patches@koha.org give visual cue on UI and a link out. More friendly pruning of the other items. Thanks to Galen Charlton and Joe Atzberger Signed-off-by: Galen Charlton Signed-off-by: Chris Cormack --- catalogue/moredetail.pl | 3 ++- .../intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/catalogue/moredetail.pl b/catalogue/moredetail.pl index 6d6e572dd0..6f626616f7 100755 --- a/catalogue/moredetail.pl +++ b/catalogue/moredetail.pl @@ -50,7 +50,8 @@ my ($template, $loggedinuser, $cookie) = get_template_and_user({ my $biblionumber=$query->param('biblionumber'); my $title=$query->param('title'); -# my $bi=$query->param('bi'); +my $itemnumber=$query->param('itemnumber'); +my $bi=$query->param('bi'); # $bi = $biblionumber unless $bi; my $data=GetBiblioData($biblionumber); my $dewey = $data->{'dewey'}; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl index fd7a162583..fca96216b8 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tmpl @@ -37,7 +37,7 @@
-
You are only viewing one item. &bi=#item&bi=#item
-- 2.39.5