[Koha-bugs] [Bug 3137] Add sys pref to collapse areas of the patron add by default

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 11 19:29:24 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3137

David Nind <david at davidnind.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #99606|0                           |1
        is obsolete|                            |

--- Comment #24 from David Nind <david at davidnind.com> ---
Created attachment 100598
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=100598&action=edit
Bug 3137: CollapseFieldsPatronAddForm system preference

This patches adds a syspref - CollapseFieldsAddPatronFrom - that
controls which fieldsets are hidden by default in the add patron form.

To test:
1) Apply patch and update database
2) Go to System preferences and confirm CoolapseFieldsPatronAddForm 
has no fields selected
3) Go to add a patron / edit an existing patron (any patron category).
confirm everything still works as expected.
4) Tick some of the fields in the system prefereence to hide them in 
the form
5) Go back to the add patron form.
6) Confirm these fields are hidden and listed at the top of the page
7) Toggle the check box and confirm the hidden fields show or hide as
expected.
8) Go back to the CollapseFieldsPatronAddForm system preference and
ensure the Main address option is checked to be hidden
9) Go to the patron's details page
10) Click to edit the Contact Information section
11) Confirm the Main address option shows and the checkbox to show
hidden fields is not present.
12) Confirm you can click the legend of each section to show and hide
sections

Sponsored-by: Catalyst IT

Signed-off-by: David Nind <david at davidnind.com>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list