Bug 30327: (follow-up) Fix inconsistencies in syspref names and supply defaults
authorNick Clemens <nick@bywatersolutions.com>
Sat, 25 Jun 2022 11:18:42 +0000 (11:18 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Sat, 25 Jun 2022 18:25:18 +0000 (15:25 -0300)
commit8757023b2167bfec92a494873232f1aaa76ab6be
treef8809cbf8adf8502234b9ac2d50537837a243ab3
parentdaab31ab38ea1d9c2992af51d38f30f318c3546b
Bug 30327: (follow-up) Fix inconsistencies in syspref names and supply defaults

This patch fetches the new sysprefs into variables, providing default title ascending if
they are not set to avoid an undefined concatenation warning

I also make the update idempotent and fix confusion of plural/singular names

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Biblio.pm
installer/data/mysql/atomicupdate/bug_30327_add_sortComponents_syspref.pl
installer/data/mysql/mandatory/sysprefs.sql