Koha/koha-tmpl/intranet-tmpl/prog
Joonas Kylmälä a69b5e6ee9
Bug 28012: Creating numbering pattern: mark mandatory fields required
If any of these fields were missing, notably the Numbering formula
then saving the new numbering pattern silently failed, it didn't give
any error but it didn't save any new pattern either.

Note that there is a plan to make description field optional, so even
if it currently is mandatory on the DB level we leave it optional
here (and due to people using production DB's in non-strict mode which
allows this to be optional).

To test:
  1) After applying this patch make sure all the 3 fields must be
  filled in
  /cgi-bin/koha/serials/subscription-numberpatterns.pl?op=new
  page and it cannot be saved without those.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2023-12-27 19:06:07 +01:00
..
css Bug 35425: Optimize UX when dragging a tag or subfield 2023-12-11 19:41:25 +01:00
en Bug 28012: Creating numbering pattern: mark mandatory fields required 2023-12-27 19:06:07 +01:00
img
js Bug 35557: Remove references to unused PREF_LocalCoverImages 2023-12-27 19:06:04 +01:00
pdf
sound