https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44245 Bug ID: 44245 Summary: Batch patron modification cannot set a value of 0 (Protected cannot be set to No) Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Tools Assignee: koha-bugs@lists.koha-community.org Reporter: babarjunaid1122@gmail.com QA Contact: testopia@bugs.koha-community.org Target Milestone: --- tools/modborrowers.pl keeps a posted value only when it is true: $infos->{$field} = $value if $value; so a value of 0 is dropped. The Protected field is a Yes / No select whose No is 0: a superlibrarian can protect patrons in batch but cannot unprotect them. A street number, sort1 or sort2 of 0 is ignored the same way. To reproduce (main): 1. Log in as a superlibrarian, set Protected = Yes on a patron. 2. Tools > Batch patron modification, the patron's card number, Continue. 3. Protected: No. Save. 4. The patron is still protected. Reproduced on main (c8e8025). -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.