Posted by
Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Created-OFBIZ-4258-Add-MUNICIPALITY-to-getStateList-s-search-condition-to-make-municipality-of-t-tp3456795p3456866.html
[
https://issues.apache.org/jira/browse/OFBIZ-4258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020937#comment-13020937 ]
Leon commented on OFBIZ-4258:
-----------------------------
Also change the geoTypeId from "REGIONS" to "MUNICIPALITY" for some "Autonomous regions" and "Special administrative Regions" and add some missing country-state associations.
It's better to add new geo types for "Autonomous regions" or "Special Administrative Regions", but I don't want to make the thing complex if there's no such strong demand.
> Add "MUNICIPALITY" to getStateList's search condition to make "municipality" of china visible in state list
> -----------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-4258
> URL:
https://issues.apache.org/jira/browse/OFBIZ-4258> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: SVN trunk
> Reporter: Leon
> Priority: Trivial
> Labels: ofbiz
> Fix For: SVN trunk
>
> Attachments: CommonWorkers_municipality.patch, GeoData_CN.patch
>
>
> In china, city like "Shanghai","Beijing", "Chongqin" and "Tianjin" is municipality which is equivalent to province, but there's no such municipality in the state list displayed in client end.
> ==to fix==:
> In Geo entity, these municipalities is stored with geoTypeId="MUNICIPALITY", So I add it as a new search condition to CommonWorkers.getStateList to fix this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira