Bugzilla – Attachment 7126 Details for
Bug 7357
Subscriptions titles are replaced by "---" when duplicated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7357: display serial title instead of '---'
Bug-7357-display-serial-title-instead-of----.patch (text/plain), 2.35 KB, created by
Chris Cormack
on 2012-01-13 06:58:39 UTC
(
hide
)
Description:
Bug 7357: display serial title instead of '---'
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2012-01-13 06:58:39 UTC
Size:
2.35 KB
patch
obsolete
>From 2cc9ccea466d893495ce45f7dd5ca830d6ca86ae Mon Sep 17 00:00:00 2001 >From: Adrien Saurat <adrien.saurat@biblibre.com> >Date: Mon, 9 Jan 2012 11:55:08 +0100 >Subject: [PATCH] Bug 7357: display serial title instead of '---' > >The full title of a serial is now displayed even >if several lines have the same title. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/Serials.pm | 8 -------- > .../prog/en/modules/serials/serials-home.tt | 4 +--- > 2 files changed, 1 insertions(+), 11 deletions(-) > >diff --git a/C4/Serials.pm b/C4/Serials.pm >index 1471184..9ec4630 100644 >--- a/C4/Serials.pm >+++ b/C4/Serials.pm >@@ -612,14 +612,6 @@ sub GetSubscriptions { > my $odd = 1; > > while ( my $line = $sth->fetchrow_hashref ) { >- if ( $previousbiblio eq $line->{biblionumber} ) { >- $line->{title} = ""; >- $line->{issn} = ""; >- } else { >- $previousbiblio = $line->{biblionumber}; >- $odd = -$odd; >- } >- $line->{toggle} = 1 if $odd == 1; > $line->{'cannotedit'} = > ( C4::Context->preference('IndependantBranches') > && C4::Context->userenv >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >index 7753fd3..fb310d5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt >@@ -99,9 +99,7 @@ Serials updated : > [% IF ( subscription.issn ) %][% subscription.issn %] > [% END %] > </td> >- <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% IF ( subscription.title ) %][% subscription.title |html %][% ELSE %] >- --- >- [% END %]</a> >+ <td><a href="/cgi-bin/koha/serials/subscription-detail.pl?subscriptionid=[% subscription.subscriptionid %]" class="button" title="subscription detail">[% subscription.title |html %]</a> > </td> > <td>[% IF ( subscription.notes ) %][% subscription.notes %][% END %] > [% IF ( subscription.internalnotes ) %]([% subscription.internalnotes %])[% END %] >-- >1.7.5.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 7357
:
7090
| 7126