[Koha-patches] [PATCH] Added link to catalogue/moredetail.pl on the returns page for each returned item
Michael Hafen
mdhafen at tech.washk12.org
Sat Aug 23 01:24:44 CEST 2008
Had to add itemnumber to the hash of returned item information.
Links to moredetail.pl with itemnumber and #item in the url.
---
circ/returns.pl | 1 +
.../prog/en/modules/circ/returns.tmpl | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/circ/returns.pl b/circ/returns.pl
index 0f76b70..a2eb23b 100755
--- a/circ/returns.pl
+++ b/circ/returns.pl
@@ -571,6 +571,7 @@ foreach ( sort { $a <=> $b } keys %returneditems ) {
$ri{itemtype} = $biblio->{'itemtype'};
$ri{itemnote} = $biblio->{'itemnotes'};
$ri{ccode} = $biblio->{'ccode'};
+ $ri{itemnumber} = $biblio->{'itemnumber'};
$ri{barcode} = $barcode;
}
else {
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
index 5ab1de2..e9e5fb5 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl
@@ -345,7 +345,7 @@ function Dopop(link) {
<td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR Name="itembiblionumber" -->">
<!-- TMPL_VAR Name="itemtitle" --></a></td>
<td><!-- TMPL_VAR Name="itemauthor" --></td>
- <td><!-- TMPL_VAR Name="barcode" --></td>
+ <td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=<!-- TMPL_VAR NAME="itembiblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->#item<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR Name="barcode" --></a></td>
<td><!-- TMPL_VAR Name="itemtype" --> <!-- TMPL_VAR Name="ccode" --></td>
<td><!-- TMPL_IF Name="duedate" -->
<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR Name="borrowernumber" -->">
--
1.5.4.3
More information about the Koha-patches
mailing list