mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 15:29:19 +03:00
Fixed created_at
filter not applied on members list query
refs e25e36352d
Since the concat method does not change the existing array but instead returns a new array, the extra filters on the API query object were not being applied. The extra filter included filtering on `created_at` date for members which was not applied as the filter was not stored in the array correctly.
This commit is contained in:
parent
3cd1c56d4e
commit
548e8db090
@ -156,7 +156,7 @@ export default class MembersController extends Controller {
|
||||
|
||||
let filters = [];
|
||||
|
||||
filters.concat(extraFilters);
|
||||
filters = filters.concat(extraFilters);
|
||||
|
||||
if (label) {
|
||||
filters.push(`label:'${label}'`);
|
||||
|
Loading…
Reference in New Issue
Block a user