0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Update admin area queries to use new filter parameter

refs #6005
- updates use of the query params removed in #6005 to use new `filter` param
This commit is contained in:
Kevin Ansfield 2015-10-26 12:23:46 +00:00
parent 9dc4efca13
commit f6d877ef27

View file

@ -6,7 +6,7 @@ export default Ember.Controller.extend({
userPostCount: Ember.computed('model.id', function () {
var promise,
query = {
author: this.get('model.slug'),
filter: `author:${this.get('model.slug')}`,
status: 'all'
};