http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15163
Marc Véron <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #45258|0 |1 is obsolete| | --- Comment #6 from Marc Véron <[email protected]> --- Created attachment 45260 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=45260&action=edit Bug 15163: Do not erase patron attributes if limited to another library The patron attributes displayed on editing a patron are not displayed if limited to another library. This is the easy but dirty way to fix this issue: It supposes that the data are not sensitive as they are now displayed in the html document. A better way to fix it would be to modify C4::Members::Attributes::SetBorrowerAttributes to delete only attributes we are editing. Test plan: 1/ Create 2 patron attributes, without branch limitations. 2/ Edit a patron and set a value for these attributes 3/ Limit a patron attributes to a library (one you are not logged in with). 4/ Edit again the patron. => You should not see the limited attributes 5/ Edit the patron attributes and remove the branch limitation => Without this patch, it has been removed from the database and is not displayed anymore. => With this patch, you should see it. Followed test plan, works as described. Signed-off-by: Marc Véron <[email protected]> http://bugs.koha-community.org/show_bug.cgi?id=15165 -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
