Bugzilla – Attachment 2298 Details for
Bug 4922
Item display tries to show serial publication information for titles with series tags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-Fix-for-Bug-4922-Item-display-tries-to-show-serial-i.patch (text/plain), 1.57 KB, created by
Owen Leonard
on 2010-07-01 17:41:45 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-07-01 17:41:45 UTC
Size:
1.57 KB
patch
obsolete
>From 46e82034b881cbac9f0e0f1359b642c0479d2b06 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 30 Jun 2010 13:28:30 -0400 >Subject: [PATCH] Fix for Bug 4922 - Item display tries to show serial info for titles with series tags > >Removing check for "is this a serial record" when displaying enumchron >information. This check evaluates as true for all biblio records which >have a series title, so it's an inaccurate determiner of whether >enumchron information should be displayed. The script already >checks for the presence of enumchron data, so that will display >anyway if it exists. >--- > catalogue/detail.pl | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 85819c0..4f6c23f 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -106,7 +106,7 @@ my $dat = &GetBiblioData($biblionumber); > my $subscriptionsnumber = CountSubscriptionFromBiblionumber($biblionumber); > my @subscriptions = GetSubscriptions( $dat->{title}, $dat->{issn}, $biblionumber ); > my @subs; >-$dat->{'serial'}=1 if $subscriptionsnumber; >+ > foreach my $subscription (@subscriptions) { > my %cell; > my $serials_to_display; >@@ -212,7 +212,7 @@ $template->param( > itemdata_enumchron => $itemfields{enumchron}, > itemdata_uri => $itemfields{uri}, > itemdata_copynumber => $itemfields{copynumber}, >- volinfo => $itemfields{enumchron} || $dat->{'serial'} , >+ volinfo => $itemfields{enumchron}, > z3950_search_params => C4::Search::z3950_search_args($dat), > C4::Search::enabled_staff_search_views, > ); >-- >1.7.0.4 >
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 4922
:
2292
|
2293
| 2298