Group Filter Widget display the "added criteria" by default

771
1
Jump to solution
02-03-2017 12:17 PM
AndrewL
Occasional Contributor II

The Group Filter widget doesn't seem to have the "Between" operator like the regular Filter widget has. So, to filter by a date range I believe I need to choose "GREATER THAN OR EQUAL TO", then click the add criteria button to select "AND", and then select LESS THAN OR EQUAL TO.

My users will always be doing a date range search, so I want it to display the following when the Group Filter widget opens (rather than have to go through the process of selecting the operators).

I modified the text in the widgets\GroupFilter\nls\String.js. Thank you.

0 Kudos
1 Solution

Accepted Solutions
AndrewL
Occasional Contributor II

I added the following code to line 84 in the widget.js and is currently working fine.

this.createNewRow({operator:"<=", value:"", conjunc:"AND", state:"new"});

View solution in original post

0 Kudos
1 Reply
AndrewL
Occasional Contributor II

I added the following code to line 84 in the widget.js and is currently working fine.

this.createNewRow({operator:"<=", value:"", conjunc:"AND", state:"new"});

View solution in original post

0 Kudos