From b2b9e4cb213023697566885340d2ff7b5a44db8b Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 19 Jun 2017 11:34:01 +0500 Subject: - Added columns filters to most windows - Added more columns to UserDevices and UserGroups - Change openlayers version to 4.2.0 --- web/app/view/edit/Geofences.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'web/app/view/edit/Geofences.js') diff --git a/web/app/view/edit/Geofences.js b/web/app/view/edit/Geofences.js index 8ca9c31..51fa768 100644 --- a/web/app/view/edit/Geofences.js +++ b/web/app/view/edit/Geofences.js @@ -20,10 +20,13 @@ Ext.define('Traccar.view.edit.Geofences', { xtype: 'geofencesView', requires: [ + 'Ext.grid.filters.Filters', 'Traccar.view.edit.GeofencesController', 'Traccar.view.edit.Toolbar' ], + plugins: 'gridfilters', + controller: 'geofences', store: 'Geofences', @@ -42,10 +45,12 @@ Ext.define('Traccar.view.edit.Geofences', { }, items: [{ text: Strings.sharedName, - dataIndex: 'name' + dataIndex: 'name', + filter: 'string' }, { text: Strings.sharedDescription, - dataIndex: 'description' + dataIndex: 'description', + filter: 'string' }] } }); -- cgit v1.2.3