Creating new patron with the same first and last name as an existing patron triggers a duplicate warning message with the possibility to display a pop-up window with a patron detail brief view (moremember-brief.tt). Address formatting in this window should use syspref 'AddressFormat' to display the address.
Created attachment 52350 [details] [review] Bug 16730 - Use member-display-address-style*-includes in moremember-brief.tt To test: - Apply patch - Create a new patron with the same first and last name as an existing patron. This should trigger a duplicate warning message. Click the "View existing record" link to trigger a pop-up window with a patron detail brief view. - Verify that the address information displays the same way as on the patron details screen (moremember.pl). - Change syspref 'AddressFormat' and verify that the address displays as appropriate.
Created attachment 52412 [details] [review] Bug 16730 - Use member-display-address-style*-includes in moremember-brief.tt To test: - Apply patch - Create a new patron with the same first and last name as an existing patron. This should trigger a duplicate warning message. Click the "View existing record" link to trigger a pop-up window with a patron detail brief view. - Verify that the address information displays the same way as on the patron details screen (moremember.pl). - Change syspref 'AddressFormat' and verify that the address displays as appropriate. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Works as described: AddressFormat is taken into account on 'view exiting record' dialog box.
Note: US style formatting (road type should be after address) is fixed by Bug 16779
Created attachment 52858 [details] [review] Bug 16730 - Use member-display-address-style*-includes in moremember-brief.tt To test: - Apply patch - Create a new patron with the same first and last name as an existing patron. This should trigger a duplicate warning message. Click the "View existing record" link to trigger a pop-up window with a patron detail brief view. - Verify that the address information displays the same way as on the patron details screen (moremember.pl). - Change syspref 'AddressFormat' and verify that the address displays as appropriate. Signed-off-by: Frédéric Demians <f.demians@tamil.fr> Works as described: AddressFormat is taken into account on 'view exiting record' dialog box. Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Pushed to master for 16.11, thanks Marc!
Pushed in 16.05. Will be in 16.05.02.
Patches pushed to 3.22.x, will be in 3.22.10