[Koha-bugs] [Bug 22534] Add ability to choose which fields are copied from guarantor to guarantee

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 31 02:44:25 CEST 2020


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

--- Comment #14 from Alex Buckley <alexbuckley at catalyst.net.nz> ---
Hi all, 

I've amended my patch. 

I realised I was incorrectly assigning guatantors main address and guarantor
contact fields directly into guarantee alternate address and alternate contact.

In my new patch the pre-filling mapping is:

guarantor:main address = guarantee:main address
guarantor:contact = guarantee:contact
guarantor:Alternate address = guarantee:Alternate address
guarantor:Alternate contact = guarantee:Alternate contact

I've also changed the syspref to be 'multiple' like you requested Jonathan.
I've listed individual fields (ordered alphabetically based on the displayed
text) in the PrefillGuaranteeField rather than sections of the member entry
form like in CollapseFieldsPatronAddForm this is to give librarians more
granulated control if they want to pre-fill some but not all fields in
'contact' section of member entry form for example. 

As I have changed the syspref quite significantly I'll need to obsolete the
patch on this ticket already tested otherwise I'd have to make another
atomicupdate to UPDATE the syspref. 

Could you please re-test Sally (or anyone else interested to do so)?

Many thanks,
Alex

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


More information about the Koha-bugs mailing list