Opened 2 years ago

Closed 2 years ago

#1487944 closed Bugs (fixed)

Use 'address_template' config option when adding new address blocks

Reported by: deltatech Owned by:
Priority: 5 Milestone: 0.6-beta
Component: Addressbook Version: git-master
Severity: normal Keywords:
Cc:

Description

In program/steps/addressbook/func.inc if we could reverse the order of the region and zipcode columns in $CONTACT_COLTYPES it would make much more sense.

ZipCodes? are for US Postal service and all north American addresses are formatted with the region (state) before the zip code. And since the order the form is in depends on the order that the array is in, this would be a good place to change it.

The first address uses $rcmail_configaddress_template? for the order, however when adding new addresses, it is in the order of the array.

Change History (2)

comment:1 Changed 2 years ago by thomasb

  • Summary changed from Addressbook field order to Use 'address_template' config option when adding new address blocks
  • Type changed from Feature Requests to Bugs

If we change it to any standard, all the other countries will complain. This is what $rcmail_config['address_template'] was created for but obviously this isn't implemented properly.

comment:2 Changed 2 years ago by thomasb

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [b0c70b3c]

Note: See TracTickets for help on using tickets.