Opened 12 years ago

Closed 5 years ago

#18 closed enhancement (wontfix)

Break down address into separate fields

Reported by: IVORW@… Owned by: Nobody
Priority: lowest Milestone:
Component: openguides Version:
Severity: trivial Keywords: check
Cc:

Description

Fri Oct 14 03:19:20 2005 IVORW - Ticket created [Reply] [Comment]

Subject: Break down address into separate fields

Currently, OG has two fields which are configured at guide level: country and city. This is not flexible enough, and can't cope with circumstances like "The Tourist Engineer".

While still retaining a metadata field called "address" containing "Foobar House, 2 Foobar Crescent" and suchlike, I propose the following configurable metadata fields:

town city county state country

Each of these is configured at the guide level to be one of the following:

  • A metadata field
  • Turned off
  • Forced to be a particular value e.g. London

In the latter case, the edit page presents a checkbox against the forced value. This will enable us to have addresses in "Richmond, Surrey" in the London guide for example.

Download (untitled) 706b

Sun Oct 30 10:05:39 2005 IVORW - Correspondence added [Reply] [Comment]

Starting to work on this one. Please let me know of any relevant points.

Download (untitled) 72b

Sun Oct 30 14:08:25 2005 IVORW - Correspondence added [Reply] [Comment]

A patch is ready (attached)

Download (untitled) 28b

Download rt15051.patch 13.1k

Attachments (2)

rt15051.patch (13.1 KB) - added by IVORW@… 12 years ago.
ticket_18.patch (21.7 KB) - added by Ivor Williams 12 years ago.
Updated up to changeset [731]

Download all attachments as: .zip

Change History (14)

Changed 12 years ago by IVORW@…

Attachment: rt15051.patch added

comment:1 Changed 12 years ago by EarleMartin

If we're going to be easy for people to use around the world, we should probably allow people to name the component fields of the address themselves.

See http://www.columbia.edu/kermit/postal.html for an introduction to a world of pain!

comment:2 Changed 12 years ago by Dominic Hargreaves

Component: openguides

comment:3 Changed 12 years ago by Ivor Williams

Owner: set to Ivor Williams
Status: newassigned

comment:4 Changed 12 years ago by Ivor Williams

I'm reviewing this in the light of Earle's comments.

comment:5 Changed 12 years ago by Ivor Williams

I am hosting a demo of this with London data at http://www.nurflax.net/cgi-bin/openguides/wiki.cgi

Guide is configured with address_format = "street,town,city,county,country,postcode"

Presets are city and country

Please feel free to play :)

Changed 12 years ago by Ivor Williams

Attachment: ticket_18.patch added

Updated up to changeset [731]

comment:6 Changed 12 years ago by Dominic Hargreaves

Milestone: 0.53

comment:7 Changed 12 years ago by Dominic Hargreaves

Milestone: 0.530.54

comment:8 Changed 11 years ago by Dominic Hargreaves

Milestone: 0.58

comment:9 Changed 11 years ago by Dominic Hargreaves

Keywords: check added

comment:10 Changed 10 years ago by Dominic Hargreaves

Owner: changed from Ivor Williams to Nobody
Status: assignednew

comment:11 Changed 6 years ago by bob

Priority: normallowest
Severity: normaltrivial

comment:12 Changed 5 years ago by Dominic Hargreaves

Resolution: wontfix
Status: newclosed

I don't quite remember why this didn't get applied, but I don't know of any other instances where this is needed, so rejecting.

Note: See TracTickets for help on using tickets.