--- a/cms/app-client/app/routes/application.js Fri Jun 09 15:22:02 2017 +0200
+++ b/cms/app-client/app/routes/application.js Sat Jun 10 08:33:03 2017 +0200
@@ -1,5 +1,5 @@
import Ember from 'ember';
-import _ from 'lodash/lodash';
+import _ from 'lodash';
import RSVP from 'rsvp';
import ENV from 'app-client/config/environment';
import URI from 'urijs';
@@ -35,7 +35,7 @@
@private
*/
serializeQueryParam(value, urlKey, defaultValueType) {
- if(_.contains(this.get('filter').get('queryParams'), urlKey)) {
+ if(_.includes(this.get('filter').get('queryParams'), urlKey)) {
return this.get('filter').serializeQueryParam(value, urlKey, defaultValueType);
}
return this._super(value, urlKey, defaultValueType);
@@ -50,7 +50,7 @@
@private
*/
deserializeQueryParam(value, urlKey, defaultValueType) {
- if(_.contains(this.get('filter').get('queryParams'), urlKey)) {
+ if(_.includes(this.get('filter').get('queryParams'), urlKey)) {
return this.get('filter').deserializeQueryParam(value, urlKey, defaultValueType);
}
return this._super(value, urlKey, defaultValueType);