[Patches] [PATCH] [SIGNED-OFF] Bug 7338: Link on serial collection page wrong
koha-patchbot at kohaaloha.com
koha-patchbot at kohaaloha.com
Tue Dec 13 22:05:06 NZDT 2011
From: Katrin Fischer <Katrin.Fischer.83 at web.de>
Date: Fri, 9 Dec 2011 06:58:16 +0100
Subject: [PATCH] [SIGNED-OFF] 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.
Signed-off-by: Nicole C. Engard <nengard at bywatersolutions.com>
---
.../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.2.3
More information about the Patches
mailing list