https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39038 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 177554 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=177554&action=edit Bug 39038: Grep for exact matches for collapsed fields This patch splits the CollapseFieldsPatronAddForm system preference into a list in the template and then uses grep to find exact matches for each field. Test plan: 1. Edit CollapseFieldsPatronAddForm system preference and check the Non-patron guarantor and a few other fields, but not Guarantor. 2. Go to add a patron that can have a guarantor. 3. Note both guarantor fields are collapsed. 4. Apply patch, reload/ 5. Note only expected fields are collapsed. 6. Confirm other fields continue to work as expected. Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.