[Patches] [PATCH] Bug 7338: Link on serial collection page wrong
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Sat Dec 10 01:05:57 NZDT 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date: Fri, 9 Dec 2011 06:58:16 +0100
Subject: [PATCH] Bug 7338: Link on serial collection page wrong
This was a scoping error. The links are not supposed to show up
when you open that page with a subscription id in the URL.
To test:
1) Check links don't show up now.
---
.../prog/en/modules/serials/serials-collection.tt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
index 93c4fdc..f7538b7 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-collection.tt
@@ -183,7 +183,7 @@ $(document).ready(function() {
<div id="subscription-year-[% year.year %]">
<table>
<tr>
-[% UNLESS ( year.onesubscription ) %]
+[% UNLESS ( onesubscription ) %]
<th># Subs</th>
[% END %]
<th>Date published
@@ -205,7 +205,7 @@ $(document).ready(function() {
</tr>
[% FOREACH serial IN year.serials %]
[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
-[% UNLESS ( serial.onesubscription ) %]
+[% UNLESS ( onesubscription ) %]
<td><a href="serials-collection.pl?subscriptionid=[% serial.subscriptionid %]">[% serial.subscriptionid %]</a></td>
[% END %]
<td>
--
1.7.5.4
More information about the Patches
mailing list