From: Michael Hafen Date: Fri, 22 Aug 2008 23:24:44 +0000 (-0600) Subject: Added link to catalogue/moredetail.pl on the returns page for each returned item X-Git-Tag: new_acq_a_porter~939 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=0e3302e78ba4bc8260e9f65ca2f0b123684d29a5;p=koha_ffzg Added link to catalogue/moredetail.pl on the returns page for each returned item Had to add itemnumber to the hash of returned item information. Links to moredetail.pl with itemnumber and #item in the url. Signed-off-by: Galen Charlton --- diff --git a/circ/returns.pl b/circ/returns.pl index 9c08c311b3..e8976454ef 100755 --- a/circ/returns.pl +++ b/circ/returns.pl @@ -561,6 +561,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 d4d30952e5..b5d58c9457 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tmpl @@ -344,7 +344,7 @@ function Dopop(link) { "> - + &itemnumber=#item"> ">