Addresses without province or country are now visible
This commit is contained in:
parent
c77373e772
commit
38a6a7a3ac
|
@ -1,4 +1,4 @@
|
|||
hedera-web (1.406.19) stable; urgency=low
|
||||
hedera-web (1.406.20) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -11,10 +11,9 @@
|
|||
<db-model id="addresses" updatable="true">
|
||||
<custom>
|
||||
SELECT a.id, a.nickname, p.name province, a.postalCode,
|
||||
a.city, a.street, a.isActive, c.country
|
||||
a.city, a.street, a.isActive
|
||||
FROM myAddress a
|
||||
LEFT JOIN vn.province p ON p.id = a.provinceFk
|
||||
JOIN vn.country c ON c.id = p.countryFk
|
||||
WHERE a.isActive
|
||||
</custom>
|
||||
</db-model>
|
||||
|
|
|
@ -10,10 +10,9 @@
|
|||
mode="ON_DEMAND"
|
||||
on-operations-done="onOperationsDone">
|
||||
SELECT a.id, a.street, a.nickname, a.city,
|
||||
a.postalCode, a.provinceFk, c.id countryFk
|
||||
a.postalCode, a.provinceFk, p.countryFk
|
||||
FROM myAddress a
|
||||
LEFT JOIN vn.province p ON p.id = a.provinceFk
|
||||
JOIN vn.country c ON c.id = p.countryFk
|
||||
WHERE a.id = #address
|
||||
<sql-batch property="batch">
|
||||
<custom>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "1.406.19",
|
||||
"version": "1.406.20",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
Loading…
Reference in New Issue