[Koha-bugs] [Bug 11216] Patron modification creates indefinite manual restriction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 8 15:27:27 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11216

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 22822
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22822&action=edit
[SIGNED-OFF] Bug 11216 - Patron modification creates indefinite manual
restriction

Editing partron data results in unintended adding of indefinite manual
restriction to it. Reason for it is hidden field add_debarment which
is wrongly initialized to 1 instead of 0. Also JavaScript code seems
to want to toggle checkbox, and sice this field is hidden correct
approach would be to change it's value to 1.

Test scenario:

1. edit patron data
2. verify that debarrment is wrongly added
3. remove debarrment
3. apply this patch
4. edit patron again
5. verify that debarrment wasn't added
6. intentionally add debarrment and verify that it's saved

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list