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:
Rishabh 2021-08-04 12:27:51 +05:30 committed by Rishabh Garg
parent 3cd1c56d4e
commit 548e8db090

View File

@ -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}'`);