From a136920f302d47945544bdc0aeff1b40f3dae43a Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 11 Mar 2010 08:54:16 -0500 Subject: [PATCH] Improve display of information on Transfers to your library report - Use GetRecordValue() to show subtitle - Show author - Separate branch and call number display for better sorting - Correct teriminology (reserve -> hold) Signed-off-by: Galen Charlton --- circ/transferstoreceive.pl | 5 ++++- .../en/modules/circ/transferstoreceive.tmpl | 20 ++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/circ/transferstoreceive.pl b/circ/transferstoreceive.pl index f87799e41a..86f799275c 100755 --- a/circ/transferstoreceive.pl +++ b/circ/transferstoreceive.pl @@ -91,10 +91,13 @@ foreach my $br ( keys %$branches ) { $getransf{'datetransfer'} = format_date( $num->{'datesent'} ); $getransf{'itemtype'} = $itemtypeinfo ->{'description'}; - foreach (qw(title biblionumber itemnumber barcode homebranch holdingbranch itemcallnumber)) { + foreach (qw(title author biblionumber itemnumber barcode homebranch holdingbranch itemcallnumber)) { $getransf{$_} = $gettitle->{$_}; } + my $record = GetMarcBiblio($gettitle->{'biblionumber'}); + $getransf{'subtitle'} = GetRecordValue('subtitle', $record, GetFrameworkCode($gettitle->{'biblionumber'})); + # we check if we have a reserv for this transfer my @checkreserv = GetReservesFromItemnumber($num->{'itemnumber'} ); if ( $checkreserv[0] ) { diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl index 8ee68eb977..0a5010fc7e 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/transferstoreceive.tmpl @@ -15,8 +15,8 @@ $(document).ready(function() { $.tablesorter.defaults.widgets = ['zebra']; $("#transferst").tablesorter({ dateFormat: 'uk', - sortList: [[1,0]], - headers: { 1: { sorter: 'articles' },4:{sorter:false}} + sortList: [[0,0]], + headers: { 1: { sorter: 'articles' }} }); }); @@ -47,8 +47,9 @@ $(document).ready(function() { Date of transfer Title - Reserved by - Location + On hold for + Home library + Call no. @@ -59,12 +60,12 @@ $(document).ready(function() {

Transfer is days late -"> +"> -"> +"> -"> -   () +"> by +   ()
Barcode: @@ -81,7 +82,8 @@ $(document).ready(function() {

None

- + + -- 2.39.5