[Koha-bugs] [Bug 13757] Make patron attributes editable in the opac if set to ' editable in OPAC'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 15 21:31:24 CET 2017


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

--- Comment #97 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 61145
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=61145&action=edit
Bug 13757: (QA followup) Make opac-memberentry.pl handle attrs deletion

The original code on this bug skipped empty-valued attributes. But
emptying attributes is the only way to tell the controller script that
the user wants to delete them.

This patch makes opac-memberentry.pl check the existence of attributes
sharing the code of the empty for the given patron, and it stores the
deletion on the Koha::Patron::Modification as needed. Otherwise
deletions got skipped.

To test:
- Verify setting/deleting attributes that are opac-editable and verify
the results are sound.

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

Signed-off-by: Nick Clemens <nick at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list