From 01f8111c119e2f3148a0bb9cb13720c638cbdfa8 Mon Sep 17 00:00:00 2001 From: jesusbotella Date: Fri, 31 Jan 2020 10:46:06 +0100 Subject: [PATCH] Return a new instance of filters array --- src/api/v4/filter/filters-collection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/v4/filter/filters-collection.js b/src/api/v4/filter/filters-collection.js index b651e94f2d..972dfaf9c5 100644 --- a/src/api/v4/filter/filters-collection.js +++ b/src/api/v4/filter/filters-collection.js @@ -88,7 +88,7 @@ class FiltersCollection extends Base { * @api */ getFilters () { - return this._filters; + return [].concat(this._filters); } $getSQL () {