From be8f1f33430f35257c0ed5e93fc52ddfc65b7d84 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Tue, 14 Dec 2010 14:20:42 -0500 Subject: [PATCH] Fix for 5143, now with IE debug removed Need to set up keyword to marc mappings for subtitle, parts, numbers for this to work adds: - the subtitles into the title link (originally Chris Cormack) - barcodes for every listed hold - denoted which items were only item and which could be filled by any item on that bib. - added id's to every column for ease of jquery suppression of data (example: publication data or patron column could be suppressed) [EDIT]: Added missing template variable [EDIT]: Converted table cell IDs to classes. Having multiple identical IDs is invalid. Signed-off-by: Owen Leonard Signed-off-by: Chris Cormack --- circ/view_holdsqueue.pl | 8 ++- .../prog/en/modules/circ/view_holdsqueue.tmpl | 54 +++++++++---------- 2 files changed, 34 insertions(+), 28 deletions(-) diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index 668bdd15e0..3023cdf43a 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -96,7 +96,13 @@ sub GetHoldsQueueItems { $sth->execute(@bind_params); my $items = []; while ( my $row = $sth->fetchrow_hashref ){ - $row->{reservedate} = format_date($row->{reservedate}); + $row->{reservedate} = format_date($row->{reservedate}); + my $record = GetMarcBiblio($row->{biblionumber}); + if ($record){ + $row->{subtitle} = GetRecordValue('subtitle',$record,'')->[0]->{subfield}; + $row->{parts} = GetRecordValue('parts',$record,'')->[0]->{subfield}; + $row->{numbers} = GetRecordValue('numbers',$record,'')->[0]->{subfield}; + } push @$items, $row; } return $items; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tmpl index 52ddd859aa..c21bc945e9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/view_holdsqueue.tmpl @@ -14,7 +14,7 @@
- +
@@ -29,48 +29,48 @@
No items found.
- - - - - - - - + + + + + + + - - - - + + - - - + + +
TitleCollectionCall NumberBarcodePatronSend ToDateTitleCollectionCall NumberBarcodePatronSend ToDate

">

-

- - , - , - : - ISBN:

+

">

+

+

+ , + , + : + ISBN:

+
+ - + Only Item: - Any available copy +
or Any available

#reserves">, ()

#reserves">, ()

- - + +
@@ -84,7 +84,7 @@ - -- 2.39.5