diff --git a/forms/account/address/ui.xml b/forms/account/address/ui.xml index 66c71144..ff216ee3 100644 --- a/forms/account/address/ui.xml +++ b/forms/account/address/ui.xml @@ -65,7 +65,7 @@ one-way="true" one-time="true"> - SELECT id, country FROM vn.country + SELECT id, name FROM vn.country ORDER BY country diff --git a/forms/ecomerce/checkout/ui.xml b/forms/ecomerce/checkout/ui.xml index 8506152f..cfe7f03e 100644 --- a/forms/ecomerce/checkout/ui.xml +++ b/forms/ecomerce/checkout/ui.xml @@ -120,7 +120,7 @@ form-id="iter" on-change="onAddressChange"> - SELECT a.id, a.nickname, p.name province, a.city, a.street, a.isActive, c.country + SELECT a.id, a.nickname, p.name province, a.city, a.street, a.isActive, c.name FROM myAddress a LEFT JOIN vn.province p ON p.id = a.provinceFk JOIN vn.country c ON c.id = p.countryFk