diff --git a/lib/webservice/router/product.js b/lib/webservice/router/product.js index 929f137..0b86b2d 100644 --- a/lib/webservice/router/product.js +++ b/lib/webservice/router/product.js @@ -13,6 +13,9 @@ function pageJson(req, res) { LEFT JOIN service ON service.svc_id = product.svc_id WHERE service.svc_cat IN (1, 6) + AND product.site_id IS NULL -- produk utama + AND product.area_gid IS NULL -- produk utama + AND product.route IS NULL -- produk utama ORDER BY SOUNDEX(service.keyword), LENGTH(service.keyword), service.keyword; `.trim();