mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 06:35:49 +03:00
parent
a89376bf26
commit
0ae3f0fdfc
@ -61,6 +61,7 @@ const filter = function filter(Bookshelf) {
|
||||
let extra = this.extraFilters(options);
|
||||
let overrides = this.enforcedFilters(options);
|
||||
let defaults = this.defaultFilters(options);
|
||||
let transformer = options.mongoTransformer;
|
||||
|
||||
debug('custom', custom);
|
||||
debug('extra', extra);
|
||||
@ -81,7 +82,8 @@ const filter = function filter(Bookshelf) {
|
||||
relations: RELATIONS,
|
||||
expansions: EXPANSIONS,
|
||||
overrides: overrides,
|
||||
defaults: defaults
|
||||
defaults: defaults,
|
||||
transformer: transformer
|
||||
}).querySQL(qb);
|
||||
});
|
||||
} catch (err) {
|
||||
|
Loading…
Reference in New Issue
Block a user