mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Changed top members limit to 5
This commit is contained in:
parent
418f6e9cbe
commit
6dd07c1421
1 changed files with 2 additions and 2 deletions
|
@ -207,14 +207,14 @@ export default class DashboardController extends Controller {
|
|||
let query = {
|
||||
filter: 'email_open_rate:-null',
|
||||
order: 'email_open_rate desc',
|
||||
limit: 10
|
||||
limit: 5
|
||||
};
|
||||
this.store.query('member', query).then((result) => {
|
||||
if (!result.length) {
|
||||
return this.store.query('member', {
|
||||
filter: 'status:paid',
|
||||
order: 'created_at asc',
|
||||
limit: 10
|
||||
limit: 5
|
||||
});
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Reference in a new issue