mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed updates to v0.1 specific code
refs #10922 v0.1 can just be left alone and not updated to use type - we can deal with that in a transform
This commit is contained in:
parent
cd45ab4f54
commit
08d83c1f53
1 changed files with 2 additions and 2 deletions
|
@ -620,9 +620,9 @@ Post = ghostBookshelf.Model.extend({
|
|||
options.staticPages = _.includes(['true', '1'], options.staticPages);
|
||||
}
|
||||
|
||||
filter = `type:${options.staticPages ? 'page' : 'post'}`;
|
||||
filter = `page:${options.staticPages ? 'true' : 'false'}`;
|
||||
} else if (options.staticPages === 'all') {
|
||||
filter = 'type:[post, page]';
|
||||
filter = 'page:[true, false]';
|
||||
}
|
||||
|
||||
// CASE: "status" is passed, combine filters
|
||||
|
|
Loading…
Add table
Reference in a new issue