Solucionado error de privilegios en el catalogo para visitante

This commit is contained in:
Juan Ferrer Toribio 2015-09-28 14:21:14 +02:00
parent e3568ca058
commit 4fb4c9e430
2 changed files with 3 additions and 2 deletions

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.220-deb8) stable; urgency=low
hedera-web (1.221-deb8) stable; urgency=low
* Initial Release.

View File

@ -29,10 +29,11 @@
SELECT Id_Article item_id FROM vn2008.Articles
WHERE #filter;
CALL bionic_calc ();
SELECT t.item_id, t.available, t.price, t.producer,
SELECT t.item_id, 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
LEFT JOIN vn2008.Articles_producer p ON p.Id_Article = a.Id_Article
LEFT JOIN vn2008.Origen o ON a.id_origen = o.id
WHERE t.available > 0
ORDER BY a.Article, a.Medida