[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2021-12-17 Thread Jacopo Cappellato (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato updated OFBIZ-8301:
-
Affects Version/s: Upcoming Branch
   (was: Trunk)

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Upcoming Branch
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image2.png, Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2021-12-17 Thread Jacopo Cappellato (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacopo Cappellato updated OFBIZ-8301:
-
Fix Version/s: Upcoming Branch
   (was: Trunk)

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Upcoming Branch
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: Image2.png, Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-22 Thread Supatthra Nawicha (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supatthra Nawicha updated OFBIZ-8301:
-
Attachment: OFBIZ-8301.patch

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image2.png, Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-22 Thread Supatthra Nawicha (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supatthra Nawicha updated OFBIZ-8301:
-
Attachment: (was: OFBIZ-8301.patch)

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image2.png, Image4.png
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-22 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-8301:
---
Attachment: Image2.png

Than Supatthra, it works for the problem at hand but not in general. At least 
not in our example !Image2.png!

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image2.png, Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-21 Thread Supatthra Nawicha (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supatthra Nawicha updated OFBIZ-8301:
-
Attachment: (was: OFBIZ-8301.patch)

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-21 Thread Jacques Le Roux (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-8301:
---
Attachment: Image4.png

Sorry Supatthra, but after applying you patch I still see UK (GBR) "states" 
still unsorted at some point: !Image4.png!

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: Image4.png, OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-21 Thread Supatthra Nawicha (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supatthra Nawicha updated OFBIZ-8301:
-
Attachment: (was: OFBIZ-8301.patch)

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-8301) The state dropdown not ordered alphabetically on the create/edit address screen of related components

2016-09-21 Thread Supatthra Nawicha (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-8301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Supatthra Nawicha updated OFBIZ-8301:
-
Attachment: OFBIZ-8301.patch

> The state dropdown not ordered alphabetically on the create/edit address 
> screen of related components
> -
>
> Key: OFBIZ-8301
> URL: https://issues.apache.org/jira/browse/OFBIZ-8301
> Project: OFBiz
>  Issue Type: Bug
>  Components: party
>Affects Versions: Trunk
>Reporter: Supatthra Nawicha
>Assignee: Jacques Le Roux
>Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-8301.patch
>
>
> I have found this issue when I try to create a new customer from the party 
> manager. Then I try to select the state of UK but I see the state is not 
> order alphabetically. 
> I have check on the getAssociatedStateList service and it provide the 
> listOrderBy parameter for order the value on the state dropdown but the 
> getDependentDropdownValues function on javascript does not send the 
> listOrderBy parameter to the service. 
> {code:title=framework/common/src/main/java/org/apache/ofbiz/common/CommonWorkers.java|borderStyle=solid}
> public static List getAssociatedStateList(Delegator delegator, 
> String country, String listOrderBy) {
> if (UtilValidate.isEmpty(country)) {
> // Load the system default country
> country = EntityUtilProperties.getPropertyValue("general", 
> "country.geo.id.default", delegator);
> }
> if (UtilValidate.isEmpty(listOrderBy)) {
> listOrderBy = "geoId";
> }
> List sortList = UtilMisc.toList(listOrderBy);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)