Bugzilla – Attachment 7090 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]
proposed patch
0001-Bug-7357-display-serial-title-instead-of.patch (text/plain), 2.30 KB, created by
Adrien SAURAT
on 2012-01-09 10:57:40 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Adrien SAURAT
Created:
2012-01-09 10:57:40 UTC
Size:
2.30 KB
patch
obsolete
>From 27637e31150d2ab6f86c296021c85dd820b5edc0 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. >--- > 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.4.1 >
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