Referenced new i18n tables
This commit is contained in:
parent
2558a6d9bc
commit
eb215274e4
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (1.405.10) stable; urgency=low
|
hedera-web (1.405.11) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -71,12 +71,12 @@
|
||||||
CALL bionic_calc ();
|
CALL bionic_calc ();
|
||||||
SELECT a.Id_Article item_id, a.description, b.available, b.price,
|
SELECT a.Id_Article item_id, a.description, b.available, b.price,
|
||||||
b.producer, a.Foto, a.Article, a.Categoria, a.Medida,
|
b.producer, a.Foto, a.Article, a.Categoria, a.Medida,
|
||||||
IF(a.Tallos > 1, a.Tallos, NULL) Tallos, c.str color
|
IF(a.Tallos > 1, a.Tallos, NULL) Tallos, c.name color
|
||||||
FROM tmp.bionic_item b
|
FROM tmp.bionic_item b
|
||||||
JOIN vn2008.Articles a ON a.Id_Article = b.item_id
|
JOIN vn2008.Articles a ON a.Id_Article = b.item_id
|
||||||
LEFT JOIN vn2008.producer p ON p.producer_id = a.producer_id
|
LEFT JOIN vn2008.producer p ON p.producer_id = a.producer_id
|
||||||
LEFT JOIN vn_locale.color_view c ON c.color_id = a.Color
|
LEFT JOIN vn.inkL10n c ON c.id = a.Color
|
||||||
LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen
|
LEFT JOIN vn.originL10n o ON o.id = a.id_origen
|
||||||
WHERE b.available > 0
|
WHERE b.available > 0
|
||||||
ORDER BY a.relevancy DESC, a.Article, a.Medida
|
ORDER BY a.relevancy DESC, a.Article, a.Medida
|
||||||
LIMIT 400;
|
LIMIT 400;
|
||||||
|
@ -99,9 +99,9 @@
|
||||||
batch="card-batch"
|
batch="card-batch"
|
||||||
on-status-changed-after="onStatusChange">
|
on-status-changed-after="onStatusChange">
|
||||||
<custom>
|
<custom>
|
||||||
SELECT a.description, o.str origin
|
SELECT a.description, o.name origin
|
||||||
FROM vn2008.Articles a
|
FROM vn2008.Articles a
|
||||||
LEFT JOIN vn_locale.origin_view o ON o.origin_id = a.id_origen
|
LEFT JOIN vn.originL10n o ON o.id = a.id_origen
|
||||||
WHERE a.Id_Article = #item
|
WHERE a.Id_Article = #item
|
||||||
</custom>
|
</custom>
|
||||||
</db-model>
|
</db-model>
|
||||||
|
@ -217,9 +217,9 @@
|
||||||
property="model"
|
property="model"
|
||||||
on-status-changed="refreshTitleColor">
|
on-status-changed="refreshTitleColor">
|
||||||
<custom>
|
<custom>
|
||||||
SELECT r.id, l.str name, r.color
|
SELECT r.id, l.name, r.color
|
||||||
FROM vn2008.reinos r
|
FROM vn2008.reinos r
|
||||||
LEFT JOIN vn_locale.realm_view l ON l.realm_id = r.id
|
JOIN vn.itemCategoryL10n l ON l.id = r.id
|
||||||
WHERE r.display != FALSE
|
WHERE r.display != FALSE
|
||||||
ORDER BY name
|
ORDER BY name
|
||||||
</custom>
|
</custom>
|
||||||
|
@ -249,11 +249,11 @@
|
||||||
on-status-changed="refreshTitle">
|
on-status-changed="refreshTitle">
|
||||||
<custom>
|
<custom>
|
||||||
CALL item_available ();
|
CALL item_available ();
|
||||||
SELECT DISTINCT t.tipo_id, l.str name
|
SELECT DISTINCT t.tipo_id, l.name
|
||||||
FROM vn2008.Tipos t
|
FROM vn2008.Tipos t
|
||||||
JOIN vn2008.Articles a ON a.tipo_id = t.tipo_id
|
JOIN vn2008.Articles a ON a.tipo_id = t.tipo_id
|
||||||
LEFT JOIN vn_locale.family_view l ON l.family_id = t.tipo_id
|
|
||||||
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
||||||
|
JOIN vn.itemTypeL10n l ON l.id = t.tipo_id
|
||||||
WHERE #filter
|
WHERE #filter
|
||||||
ORDER BY name
|
ORDER BY name
|
||||||
</custom>
|
</custom>
|
||||||
|
@ -271,11 +271,11 @@
|
||||||
<db-model property="model" auto-load="false" result-index="1">
|
<db-model property="model" auto-load="false" result-index="1">
|
||||||
<custom>
|
<custom>
|
||||||
CALL item_available ();
|
CALL item_available ();
|
||||||
SELECT DISTINCT c.Id_Tinta, l.str name
|
SELECT DISTINCT c.Id_Tinta, l.name
|
||||||
FROM vn2008.Tintas c
|
FROM vn2008.Tintas c
|
||||||
JOIN vn2008.Articles a ON a.Color = c.Id_Tinta
|
JOIN vn2008.Articles a ON a.Color = c.Id_Tinta
|
||||||
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
||||||
LEFT JOIN vn_locale.color_view l ON l.color_id = c.Id_Tinta
|
JOIN vn.colorL10n l ON l.id = c.Id_Tinta
|
||||||
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
||||||
WHERE #filter
|
WHERE #filter
|
||||||
ORDER BY name
|
ORDER BY name
|
||||||
|
@ -320,11 +320,11 @@
|
||||||
<db-model property="model" auto-load="false" result-index="1">
|
<db-model property="model" auto-load="false" result-index="1">
|
||||||
<custom>
|
<custom>
|
||||||
CALL item_available ();
|
CALL item_available ();
|
||||||
SELECT DISTINCT o.id, l.str name, o.Abreviatura
|
SELECT DISTINCT o.id, l.name, o.Abreviatura
|
||||||
FROM vn2008.Origen o
|
FROM vn2008.Origen o
|
||||||
JOIN vn2008.Articles a ON a.id_origen = o.id
|
JOIN vn2008.Articles a ON a.id_origen = o.id
|
||||||
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
JOIN vn2008.Tipos t ON t.tipo_id = a.tipo_id
|
||||||
LEFT JOIN vn_locale.origin_view l ON l.origin_id = o.id
|
JOIN vn.originL10n l ON l.id = o.id
|
||||||
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
JOIN tmp.item_available i ON i.item_id = a.Id_Article
|
||||||
WHERE #filter
|
WHERE #filter
|
||||||
ORDER BY name
|
ORDER BY name
|
||||||
|
|
Loading…
Reference in New Issue