apostrophe-snippets
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -1284,3 +1284,5 @@ var async = require('async'); | ||
// Pages in the trash are never good permalinks | ||
return self._apos.get(req, { type: { $in: typeNames }, slug: /^\// }, {}, function(err, results) { | ||
// Make sure we don't get the areas which would result in | ||
// super expensive callLoadersForPage calls | ||
return self._apos.get(req, { type: { $in: typeNames }, slug: /^\// }, { fields: { areas: 0 } }, function(err, results) { | ||
if (err) { | ||
@@ -1287,0 +1289,0 @@ console.log('error is:'); |
{ | ||
"name": "apostrophe-snippets", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "Reusable content snippets for the Apostrophe content management system. The blog and events modules are built on this foundation, which is also useful in and of itself.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
137327
1946