Bug 32544: Remove flags as option from several patron form related system preferences

Because permissions aren't actually set via the patron edit
screens, these checkboxes have no real purpose or effect.

This removes flags from the selectable fields of the following
system preferences:

* PatronSelfModificationMandatoryField
* PatronSelfRegistrationBorrowerMandatoryField
* BorrowerMandatoryField
* PatronSelfModificationBorrowerUnwantedField
* PatronSelfRegistrationBorrowerUnwantedField

To test:
* Apply patch
* Verify that the checkbox for flags can no longer be set for
these preferences

Signed-off-by: Andrew Fuerste-Henry <andrewfh@dubcolib.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Katrin Fischer 2022-12-28 21:05:14 +00:00 committed by Tomás Cohen Arazi
parent 517b0ae2d4
commit 44d8d2efff
2 changed files with 5 additions and 4 deletions

View File

@ -762,25 +762,25 @@ OPAC:
- pref: PatronSelfModificationMandatoryField
type: modalselect
source: borrowers
exclusions: password|cardnumber|dateexpiry|categorycode|sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost
exclusions: password|cardnumber|dateexpiry|categorycode|sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost|flags
-
- "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> must be filled in on the patron entry screen:"
- pref: PatronSelfRegistrationBorrowerMandatoryField
type: modalselect
source: borrowers
exclusions: sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost
exclusions: sort1|sort2|opacnote|borrowernotes|gonenoaddress|lost|flags
-
- "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-registration screen:"
- pref: PatronSelfRegistrationBorrowerUnwantedField
type: modalselect
source: borrowers
exclusions: branchcode|sort1|sort2|gonenoaddress|lost
exclusions: branchcode|sort1|sort2|gonenoaddress|lost|flags
-
- "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron self-modification screen:"
- pref: PatronSelfModificationBorrowerUnwantedField
type: modalselect
source: borrowers
exclusions: sort1|sort2|gonenoaddress|lost
exclusions: sort1|sort2|gonenoaddress|lost|flags
-
- "Display the following additional instructions for patrons who self register via the OPAC ( HTML is allowed ):"
- pref: PatronSelfRegistrationAdditionalInstructions

View File

@ -231,6 +231,7 @@ Patrons:
- pref: BorrowerMandatoryField
type: modalselect
source: borrowers
exclusions: flags
- '<strong>NOTE:</strong> If <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=autoMemberNum">autoMemberNum</a> is enabled, the system preference <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=BorrowerMandatoryField">BorrowerMandatoryField</a> must not contain the field <code>cardnumber</code>.'
-
- "The following <a href='http://schema.koha-community.org/__VERSION__/tables/borrowers.html' target='blank'>database columns</a> will not appear on the patron entry screen:"