Bugzilla – Attachment 2888 Details for
Bug 5078
Show preceding/succeeding entry (MARC21 780/5) in Staff normal view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
0016-bug5078-stf-780-v33p.patch (text/plain), 3.07 KB, created by
Marcel de Rooy
on 2010-12-20 12:24:36 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2010-12-20 12:24:36 UTC
Size:
3.07 KB
patch
obsolete
>From 1b4335b108769619d010eb7391d45c756b9ad517 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >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() { > <!-- TMPL_IF name="pages" --> <!-- /TMPL_IF --><!-- TMPL_VAR name="pages" --> <!-- TMPL_IF NAME="illus" --><!-- TMPL_VAR NAME="illus" --><!-- /TMPL_IF --> > <!-- TMPL_IF name="size" --><!-- TMPL_VAR name="size" --><!-- /TMPL_IF --> > </li> >+<!-- TMPL_IF name="continues" --> >+ <li><strong>Continues:</strong> >+ <!-- TMPL_LOOP name="continues" --> <!-- TMPL_VAR name="subfield" --><!-- TMPL_UNLESS __last__ -->;<!-- /TMPL_UNLESS --> <!-- /TMPL_LOOP --> >+ </li> >+<!-- /TMPL_IF --> >+<!-- TMPL_IF name="continuedby" --> >+ <li><strong>Continued by:</strong> >+ <!-- TMPL_LOOP name="continuedby" --> <!-- TMPL_VAR name="subfield" --><!-- TMPL_UNLESS __last__ -->;<!-- /TMPL_UNLESS --> <!-- /TMPL_LOOP --> >+ </li> >+<!-- /TMPL_IF --> > <!-- TMPL_IF name="MARCURLS" --><li> > > <strong>Online Resources:</strong> >-- >1.6.0.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5078
:
2888