From ffca4b86ad9af91cd83df089318b509b34126450 Mon Sep 17 00:00:00 2001 From: David Cook Date: Mon, 19 Jun 2023 04:28:53 +0000 Subject: [PATCH] Bug 34052: Use root relative URL for subscription-detail.pl This patch replaces a same directory relative URL with a root relative URL, so that the navigation to subscription-detail.pl works correctly after deleting a serial. To test: 0. Apply patch 1. Go to http://localhost:8081/cgi-bin/koha/serials/serials-home.pl 2. Click "New subscription" 3. Click "Search for a vendor" 4. Click "OK" 5. Click "Choose" 6. Click "Search for record" 7. Type "e" into "Keyword:" box 8. Click "Search" 9. Click "Choose" on top result 10. Click "Next" 11. Fill in "Serials planning" however you like, and click "Test prediction pattern" 12. Click "Save subscription" 13. Click "Serial collection" in left nav menu 14. Click "Delete selected issues" 15. Click "Yes, delete" 16. Click the link under the "Subscription num." table column 17. Note that you're taken to the subscription detail page Signed-off-by: Sam Lau Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit b7f89dcca3a2d0115ebc37bc34e2a5a3596105c1) Signed-off-by: Martin Renvoize --- .../prog/en/modules/serials/serials-collection.tt | 4 ++-- 1 file 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 ff542c79ed..36be19fd30 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 @@ -49,7 +49,7 @@ [% IF ( delete ) %]

You are about to delete [% serialnumber | html %] serial(s). Do you want to continue?

-
+ [% IF countitems > 0 %]
Number of items available: [% countitems | html %]

@@ -95,7 +95,7 @@ [% FOREACH subscription IN subscriptions %] - # [% subscription.subscriptionid | html %] + # [% subscription.subscriptionid | html %] [% subscription.frequency.description | html %] [% subscription.numberpattern.label | html %] [% IF subscription.branchcode %][% Branches.GetName( subscription.branchcode ) | html %][% END %] -- 2.39.2