File tree 2 files changed +19
-1
lines changed
2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ module.exports = {
20
20
class : 'text-grey-7'
21
21
}
22
22
} ,
23
- searchText : ( options ) => {
23
+ searchFilter : ( options ) => {
24
24
// fields: fields to search on
25
25
const fields = options ?. fields || [ 'name' , 'description' ]
26
26
return {
@@ -29,6 +29,16 @@ module.exports = {
29
29
fields
30
30
}
31
31
} ,
32
+ timeFilter : ( options ) => {
33
+ return Object . assign ( {
34
+ component : 'collection/KTimeFilterControl'
35
+ } , options )
36
+ } ,
37
+ tagsFilter : ( options ) => {
38
+ return Object . assign ( {
39
+ component : 'collection/KTagsFilterControl'
40
+ } , options )
41
+ } ,
32
42
locateUser : ( options ) => {
33
43
// renderer: renderer to be used to display the action
34
44
const renderer = options ?. renderer || 'button'
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
+ filterView : ( options ) => {
3
+ return Object . assign ( {
4
+ id : 'filter-view-sticky' ,
5
+ position : 'top' ,
6
+ offset : [ 0 , 50 ] ,
7
+ component : 'collection/KFilterView'
8
+ } )
9
+ } ,
2
10
position : ( options ) => {
3
11
return Object . assign ( {
4
12
id : 'position-sticky' ,
You can’t perform that action at this time.
0 commit comments