From 2d4b911bfcffa9b44f848065b092a58ac33a5d5c Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Fri, 25 Oct 2019 13:29:44 +1030 Subject: [PATCH] Fix #85 products not showing --- lib/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common.js b/lib/common.js index b210f85..2e1c494 100755 --- a/lib/common.js +++ b/lib/common.js @@ -496,7 +496,7 @@ const getData = (req, page, query) => { query = {}; } - query['productPublished'] = 'true'; + query['productPublished'] = { $ne: false }; // Run our queries return Promise.all([