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([