]> git.koha-community.org Git - koha.git/commit
Bug 26638: Remove unused system preference ArticleRequestsMandatoryFieldsItemsOnly
authorKatrin Fischer <katrin.fischer.83@web.de>
Sat, 17 Oct 2020 16:02:55 +0000 (16:02 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Nov 2020 11:59:32 +0000 (12:59 +0100)
commit76da06b6a30a8df29353fa5fabc825e609b2a0d7
tree4d433215ec656ea2e7cdf739031a270812310ebb
parentd80421ce855fd9069dbe1e7cd6b1ea42a665899b
Bug 26638: Remove unused system preference ArticleRequestsMandatoryFieldsItemsOnly

The preference was probably added because of a typo, as there is a
used system preference ArticleRequestsMandatoryFieldsItemOnly
(Item vs Items).

This patch fixes the situation:

- syspref.sql had the pref name with the typo, this is fixed.
- A database update removes the unused variable and makes sure
  the used one is added.

To test:
- Look at the local use system preferences, verify the false pref is there
- Look at the other ArticleRequests* preferences, verify the other without "s"
  is there
- Apply patch and run database update
- Verify the local use tab one is gone now

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_26638_ArticleRequestsMandatoryFieldsItemsOnly.perl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql