Merge pull request 'feat: refs #7039 change country to name' (!57) from 7039-country-country into dev
gitea/hedera-web/pipeline/head This commit looks good Details

Reviewed-on: #57
Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
Robert Ferrús 2024-05-15 09:04:33 +00:00
commit 1eb98b772a
2 changed files with 3 additions and 3 deletions

View File

@ -65,8 +65,8 @@
one-way="true"
one-time="true">
<db-model property="model">
SELECT id, country FROM vn.country
ORDER BY country
SELECT id, name FROM vn.country
ORDER BY name
</db-model>
</htk-combo>
</div>

View File

@ -120,7 +120,7 @@
form-id="iter"
on-change="onAddressChange">
<db-model property="model" id="addresses">
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