Bug 26176: Rename AutoLocation to StaffLoginRestrictBranchByIP
authorNick Clemens <nick@bywatersolutions.com>
Tue, 21 May 2024 13:44:47 +0000 (13:44 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 6 Jun 2024 08:53:04 +0000 (10:53 +0200)
commit902c5a47a5dcdefc424c52f34f0658a105246a6c
treea5026415e8ce0d20e05bd7eb7a20aa1b157e59b5
parentdcddcda37d1efb586cb75a89df4ad6af0bf438ee
Bug 26176: Rename AutoLocation to StaffLoginRestrictBranchByIP

This patch sets AutoLocation to be called StaffLoginRestrictBranchByIP.
The new name is chosen to reflect the new pref StaffLoginBranchBasedOnIP.

Also this patch corrects the order of sysprefs in installer file.

To test:
Follow test plans on bug 36665 and bug 35890 and confirm that the preferences
continue to work as expected
Confirm the descriptions of the prefs in the staff interface match the behaviors expected

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 8b2bdf6ee5a18e247e98d67d7e81605cc45542c6)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm
C4/UsageStats.pm
installer/data/mysql/atomicupdate/bug_26176.pl [new file with mode: 0755]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/includes/header.inc
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
t/db_dependent/Auth.t