Bug 10563: Fix broken 'Edit' link on check expiration page
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Wed, 10 Jul 2013 20:43:41 +0000 (22:43 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 17 Jul 2013 15:04:08 +0000 (15:04 +0000)
This fixes the broken 'Edit' (subscription) link on the
check expiration page in serials.

To test:
- Add a subscription
- Go to the check expiration page
- Search for your subscription, use an expiration date in the
  far future
- Verify the edit link on the result list doesn't work right
  before applying the patch, but works after

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/intranet-tmpl/prog/en/modules/serials/checkexpiration.tt

index f2b01a5..a787000 100644 (file)
             <td>
                 [% subscriptions_loo.expirationdate %]
             </td>
-                       <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=mod&amp;subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
+            <td><a href="/cgi-bin/koha/serials/subscription-add.pl?op=modify&amp;subscriptionid=[% subscriptions_loo.subscriptionid %]">Edit</a></td>
                        <td><a href="/cgi-bin/koha/serials/subscription-renew.pl?subscriptionid=[% subscriptions_loo.subscriptionid %]" onclick="popup([% subscriptions_loo.subscriptionid %]); return false;">Renew</a></td>
         </tr>
     [% END %]