Bug 18335

Summary: Check in: Make patron info in hold messages obey syspref AddressFormat
Product: Koha Reporter: Marc Véron <veron>
Component: CirculationAssignee: Marc Véron <veron>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: gmcharlt, julian.maurice, katrin.fischer, kyle.m.hall, kyle, mtj
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18110
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat
[SIGNED-OFF] Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat
Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat

Description Marc Véron 2017-03-26 15:24:31 UTC
When checking in, information about patrons with a hold always display in an US style. Address information should opey the system preference AddressFormat

To reproduce:
- Set syspref AddressFormat to German style
- Check out an item to a patron A
- Put a hold on this item for patron B
- Check in item using the Check in field in page header
- Result: In message 'Hold found', address does not display in German style
Comment 1 Marc Véron 2017-03-26 15:31:43 UTC Comment hidden (obsolete)
Comment 2 Marc Véron 2017-03-26 15:37:12 UTC
To test with French address style you need to apply Bug 18110
Comment 3 Owen Leonard 2017-04-18 14:38:21 UTC
Created attachment 62297 [details] [review]
[SIGNED-OFF] Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat

When checking in, information about patrons with a hold always display
in an US style. Address information should opey the system preference
AddressFormat

To reproduce:
- Set syspref AddressFormat to German style
- Check out an item to a patron A
- Put a hold on this item for patron B
- Check in item using the Check in field in page header
- Result: In message 'Hold found', address does not display in German
  style

To test:
- Apply patch
- Repeat steps above
- Verify that address displays as expected

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Comment 4 Jonathan Druart 2017-04-18 19:55:27 UTC
Created attachment 62334 [details] [review]
Bug 18335 - Check in: Make patron info in hold messages obey syspref AddressFormat

When checking in, information about patrons with a hold always display
in an US style. Address information should opey the system preference
AddressFormat

To reproduce:
- Set syspref AddressFormat to German style
- Check out an item to a patron A
- Put a hold on this item for patron B
- Check in item using the Check in field in page header
- Result: In message 'Hold found', address does not display in German
  style

To test:
- Apply patch
- Repeat steps above
- Verify that address displays as expected

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Comment 5 Kyle M Hall 2017-04-21 14:47:34 UTC
Pushed to master for 17.05, thanks Marc!
Comment 6 Katrin Fischer 2017-04-21 22:48:56 UTC
This patch has been pushed to 16.11.x and will be in 16.11.07.
Comment 7 Mason James 2017-05-03 04:41:18 UTC
Pushed to 16.05.x, for 16.05.12 release
Comment 8 Julian Maurice 2017-05-10 09:59:08 UTC
Pushed to 3.22.x for 3.22.21