From 1b4335b108769619d010eb7391d45c756b9ad517 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Mon, 2 Aug 2010 12:04:13 +0200 Subject: [PATCH] Enhancement 5078 (Show preceding/succeeding entry in Staff normal view) Content-Type: text/plain; charset="utf-8" Staff normal view could be extended (optionally) with preceding or succeeding entry (Continues/Continued by). This holds the older or newer name of a serial. In the patch sent, this is arranged by using the fieldmapping table (Keywords to MARC). This makes the feature optional; only if the keywords continues and continuedby are added with corresponding marc field (MARC21 780t/785t), the normal view [of the staff client] shows these entries. Patch can be applied to 3.0.x and master (3.2). --- catalogue/detail.pl | 4 ++++ .../prog/en/modules/catalogue/detail.tmpl | 10 ++++++++++ 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/catalogue/detail.pl b/catalogue/detail.pl index a615f16..d051e6e 100755 --- a/catalogue/detail.pl +++ b/catalogue/detail.pl @@ -67,6 +67,8 @@ my $marcsubjctsarray = GetMarcSubjects( $record, $marcflavour ); my $marcseriesarray = GetMarcSeries($record,$marcflavour); my $marcurlsarray = GetMarcUrls ($record,$marcflavour); my $subtitle = GetRecordValue('subtitle', $record, $fw); +my $continues = GetRecordValue('continues', $record, $fw); +my $continuedby = GetRecordValue('continuedby', $record, $fw); # Get Branches, Itemtypes and Locations my $branches = GetBranches(); @@ -173,6 +175,8 @@ $template->param( MARCSERIES => $marcseriesarray, MARCURLS => $marcurlsarray, subtitle => $subtitle, + continues => $continues, + continuedby => $continuedby, itemdata_ccode => $itemfields{ccode}, itemdata_enumchron => $itemfields{enumchron}, itemdata_uri => $itemfields{uri}, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl index d2acef7..88159bf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tmpl @@ -88,6 +88,16 @@ function verify_images() { + +
  • Continues: + ; +
  • + + +
  • Continued by: + ; +
  • +
  • Online Resources: -- 1.6.0.6