From 31d73fc742863ecda51c834ad81cd15692c52b55 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Wed, 27 Dec 2023 17:52:55 +0000 Subject: [PATCH] Bug 28012: (QA follow-up) Use form validation for numbering patterns Activates standard validation and error messages. Converts from pattern check to digits class for "display order" field. To test: * Compare error message when leaving required fields empty * Compare error message when entering wrong/false data in display order Signed-off-by: Katrin Fischer (cherry picked from commit f816027ea15278c7ed4b738915e963e22ee5c2e6) Signed-off-by: Fridolin Somers (cherry picked from commit 452ab27397cf3023aab53b12904182871fa1f490) Signed-off-by: Lucas Gass --- .../prog/en/modules/serials/subscription-numberpatterns.tt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt index ca1f27c74f..77e7da16ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-numberpatterns.tt @@ -59,7 +59,7 @@ [% END %] [% END %] -
+ [% IF (new) %] [% ELSE %] @@ -84,8 +84,7 @@
  • - -
    Only numeric characters are allowed
    +
  • -- 2.39.5