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

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to