From 2f12fb5c9f98e418acd00f6041d5962c1e07431f Mon Sep 17 00:00:00 2001 From: radiuscz Date: Tue, 25 Oct 2016 18:21:26 +0200 Subject: [PATCH] Fixed URL generation of "Change category" button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Test plan: 1) Apply patch 2) Create a patron and assign him a category having age limits set 3) Change patron's age to be older/younger than category's limits 4) At "Check out" and "Details" tabs you should see a warning with a button allowing to change the category, eg.: - http://prntscr.com/cz7ch3 - http://prntscr.com/cz7em4 - http://prntscr.com/cz7dj1 5) Set a valid category according to patron's age 6) Warning should disappear 7) Perform similar test again, but instead of changing the age change the limits of a category 8) During tests verify "Change category" button everytime opens "Modify patron" page: http://prntscr.com/cz7g5q https://bugs.koha-community.org/show_bug.cgi?id=17492 Signed-off-by: Marc VĂ©ron --- koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc index 2aac474..676c436 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/category-out-of-age-limit.inc @@ -2,5 +2,5 @@
  • Patron's age is incorrect for their category. Ages allowed are [% age_low %]-[% age_high %]. - Change category
  • + Change category [% END %] -- 2.1.4