Hi,

As per the requirement of my application, I want faceted search for country,province and city and
location_facet module give me search for country and city only,so I have upgraded this module for province also.

Here with I am attaching the patch files for "location_facets.inc" and "location_facets.module"

So if it will be possible then please review it and let me know if I have made any mistake.

Thanks in advance.

Comments

cyberwolf’s picture

Status: Active » Closed (duplicate)

The initial idea was to make the levels configurable, see #876520: Configuration of locative levels. Adding the province as is without any possibility to skip it will change the behavior on websites using this module already, so I can not accept this patch as is. Feel free to contribe to #876520: Configuration of locative levels though and add province as one of the optional levels.