Menu

#59 Address should not display default Country

Next Release
closed-accepted
None
5
2021-12-24
2008-01-21
No

I have set Australia as the default Country and included it in all addresses to let the map plugin work. BUT, this puts Australia at the end of all local addresses which looks silly and is a problem when printing labels.

I think default country should display or print if it is included in an address. I have modified the file lib\utilities\AddressFormatter.class.php(svn 590) to do this. It works for me, but could probably be done in a cleaner way.

File attached

Discussion

  • Andrew Brown

    Andrew Brown - 2008-01-21

    Modified AddressFormatter.class.php

     
  • Jonathan Daley

    Jonathan Daley - 2021-12-24

    I didn't see your code before fixing it myself. applied in rev. 700.

     
  • Jonathan Daley

    Jonathan Daley - 2021-12-24
    • status: open --> closed-accepted
    • assigned_to: Jonathan Daley
    • Group: --> Next Release
     

Log in to post a comment.

MongoDB Logo MongoDB