Bugzilla – Attachment 144877 Details for
Bug 32544
borrowers.flags should not be an option in any BorrowerMandatory or BorrowerUnwanted system preferences
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32544: Remove flags as option from several patron form related system preferences
Bug-32544-Remove-flags-as-option-from-several-patr.patch (text/plain), 4.31 KB, created by
Katrin Fischer
on 2022-12-28 21:07:56 UTC
(
hide
)
Description:
Bug 32544: Remove flags as option from several patron form related system preferences
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-12-28 21:07:56 UTC
Size:
4.31 KB
patch
obsolete
>From 54ee53e45f4c37813cce54ea020fb77f18d2d5f8 Mon Sep 17 00:00:00 2001 >From: Katrin Fischer <katrin.fischer.83@web.de> >Date: Wed, 28 Dec 2022 21:05:14 +0000 >Subject: [PATCH] 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 >--- > .../prog/en/modules/admin/preferences/opac.pref | 8 ++++---- > .../prog/en/modules/admin/preferences/patrons.pref | 1 + > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >index 043c5276d8..09e4439b4e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref >@@ -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 >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >index 25f6c27a12..5dc3071de0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/patrons.pref >@@ -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:" >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32544
:
144877
|
144880
|
145852