Koha-clms/serials
Phil Ringnalda feb6d0e2c1 Bug 29818: Cannot save subscription frequency without display order
The schema says that subscription_frequencies.displayorder can be null, and
everything else deals with it being null just fine, but if you try to save
a new frequency without specifying display order with strict_sql_modes set,
you get an error.

Test plan:
 1. Without the patch, Serials - Manage frequencies - New frequency
 2. Description is mandatory, so fill it in, then click Save
 3. Boom! Apply patch, restart_all
 4. Repeat steps 1-2, and verify that no error is thrown and the new
    frequency shows up (at the top of the list since nothing comes before
    something)
 5. New frequency, fill in Description, try typing something other than a
    number in Display order and saving. You should be told to follow the
    directions that only numeric characters are allowed

Sponsored-by: Chetco Community Public Library
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 77c003ed54)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 20c59c0171)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-12-18 14:37:34 +01:00
..
acqui-search-result.pl
…
acqui-search.pl
…
checkexpiration.pl
…
claims.pl
…
create-numberpattern.pl
…
lateissues-export.pl Bug 33339: Prevent Formula Injection (CSV Injection) in CSV files 2024-11-05 15:43:13 +01:00
reorder_members.pl
…
routing-preview.pl Bug 31318: Remove GetItemsInfo from serials/routing-preview 2022-08-16 09:27:15 -03:00
routing.pl
…
serials-collection.pl
…
serials-edit.pl Bug 34146: Counterpart for serials-edit 2023-07-03 14:51:33 -03:00
serials-home.pl
…
serials-search.pl Bug 31846: Add syspref for serials search results limit 2023-10-25 10:35:27 -03:00
showpredictionpattern.pl Bug 33901: (bug 30718 follow-up) Predition pattern - don't set end date to today 2023-06-09 08:41:53 -03:00
subscription-add.pl Bug 33039: Add ability to specify a template for serial subscription "Published on (text)" field 2023-07-14 08:59:43 -03:00
subscription-batchedit.pl Bug 37183: Batch edit serial subscriptions sets expiration date to today 2024-07-25 09:50:39 +02:00
subscription-bib-search.pl Bug 33803: Remove comment about tab width 2023-06-06 09:58:47 -03:00
subscription-detail.pl Bug 37247: Fix display of "closed" 2024-07-25 09:58:11 +02:00
subscription-frequencies.pl Bug 29818: Cannot save subscription frequency without display order 2024-12-18 14:37:34 +01:00
subscription-frequency.pl
…
subscription-history.pl
…
subscription-numberpattern.pl
…
subscription-numberpatterns.pl Bug 28012: Use definedness test instead of bool when checking whether to null fields 2024-01-03 17:27:11 +01:00
subscription-renew.pl
…
viewalerts.pl
…