Hi,

First of all, thanks for creating this great module. I was having a difficult time aggregating nodes by a common address so this is a lifesaver.

I am using the Addressfield module as the source and it would be enormously helpful to include the Premise field (or Additional field in Location) in the hierarchy so you would end up with something like:

123 Main Street
-- Unit 1
-- Unit 2
-- Unit 3

Might this be possible in a future release?

Comments

goron’s picture

Assigned: Unassigned » goron

Yes, I will take a look at implementing this.

goron’s picture

ok. this is implemented and committed. Will be in the next dev release.

It would be great if you could give this a quick test run. I don't have much time to do it, but I won't make a new release with it until it's tested. It would help a lot if you could try out the dev version (after it's created today) and report back if the premise field in the hierarchy works.

Thanks!

syager’s picture

Thanks! Sure, I will give it a try and report back.

goron’s picture

Status: Active » Needs review
syager’s picture

Hello,

I tried the module and it appears to be working fine. I installed the dev version, dissociated my taxonomy, added the premise fields, and reassociated the library. I then added two more nodes with the same address, with different values for premise. Both premise values listed underneath the street address like I expected. I then cleared my URL aliases and recreated them, and everything matched up correctly and looks right.

The longname output as it currently stands for URL aliases is premise-thoroughfare-postal code-locality-administrative area, it seems more logical if it were thoroughfare-premise-postal code-locality-administrative area (at least for the US) but since the order of the hierarchy can't be adjusted at this time, it's not a huge deal.

goron’s picture

Status: Needs review » Fixed

Thanks for testing syager! I will make a new release today which will include this.

In general, it would be nice if the order of the hierarchy was configurable, but I haven't gotten many requests for it, and it'll take a bit of work. So for now the Long Name and everything else will need to be determined by the hierarchy order, as you pointed out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Slacky08’s picture

Version: 7.x-2.x-dev » 7.x-2.4
Assigned: goron » Unassigned
Status: Closed (fixed) » Active

Hi There,

Sorry to open an old thread, but in the introduction, syager also mentions this same functionality for the Location module field "Additional". I have the latest non-dev version and can only see:

Country
Province
City
Street
Name

I would really like to have the additional field shown as it is on my node edit pages for the location module. I think it would go between City and Street.

Thanks,

Richard