Optimized/clarified new "Hide product from stock overview" option (references #906)

This commit is contained in:
Bernd Bestel
2020-12-21 20:43:10 +01:00
parent 694b78f72a
commit c1ac9e8a45
6 changed files with 27 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ FROM (
) sc
LEFT JOIN products p
ON sc.product_id = p.id
WHERE p.show_on_stock_overview = 1;
WHERE p.hide_on_stock_overview = 0;
CREATE VIEW uihelper_stock_current_overview
AS
@@ -80,4 +80,4 @@ FROM (
) sc
LEFT JOIN products p
ON sc.product_id = p.id
WHERE p.show_on_stock_overview = 1;
WHERE p.hide_on_stock_overview = 0;