From 390050bb56a95f18d0bc341c5bcf503f69bfea08 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Mon, 28 Sep 2015 16:23:35 +0200 Subject: [PATCH] Solucionado error al modificar nombre de fotos --- debian/changelog | 2 +- web/forms/ecomerce/catalog/catalog.js | 2 ++ web/forms/ecomerce/catalog/ui.xml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 27af6d6a..e8c2bad8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.221-deb8) stable; urgency=low +hedera-web (1.222-deb8) stable; urgency=low * Initial Release. diff --git a/web/forms/ecomerce/catalog/catalog.js b/web/forms/ecomerce/catalog/catalog.js index c74cd6ef..c5d54713 100755 --- a/web/forms/ecomerce/catalog/catalog.js +++ b/web/forms/ecomerce/catalog/catalog.js @@ -38,6 +38,8 @@ Vn.Catalog = new Class this.popup = new Htk.Popup (); this.popup.setChildNode (this.$('lots-popup')); + + this.$('items-model').setInfo ('a', 'Articles', 'vn2008', ['Id_Article']); } ,typeRenderer: function (builder, form) diff --git a/web/forms/ecomerce/catalog/ui.xml b/web/forms/ecomerce/catalog/ui.xml index 0b6d3afe..feab274c 100755 --- a/web/forms/ecomerce/catalog/ui.xml +++ b/web/forms/ecomerce/catalog/ui.xml @@ -22,14 +22,14 @@ FROM basket_item GROUP BY warehouse_id - + CREATE TEMPORARY TABLE tmp.bionic_calc (INDEX (item_id)) ENGINE=MEMORY SELECT Id_Article item_id FROM vn2008.Articles WHERE #filter; CALL bionic_calc (); - SELECT t.item_id, t.available, t.price, p.producer, + SELECT a.Id_Article, t.available, t.price, p.producer, a.Foto, a.Article, a.Categoria, a.Medida, a.Tallos, a.Color, o.Abreviatura FROM tmp.bionic_item t JOIN vn2008.Articles a ON a.Id_Article = t.item_id