Skip to content

Commit 1120b0c

Browse files
committed
Increase "Group By" rows to 5 to group by 2 more fields
1 parent 02b49c6 commit 1120b0c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

share/html/Search/Chart.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,28 @@
196196
Class => $Class,
197197
&>
198198
</fieldset>
199+
<fieldset><legend><% loc('and then') %></legend>
200+
<& Elements/SelectGroupBy,
201+
Name => 'GroupBy',
202+
Query => $query{Query},
203+
Default => $query{'GroupBy'}[3] // q{},
204+
ShowEmpty => 1,
205+
Stacked => $query{'GroupBy'}[3] && ($query{'GroupBy'}[3] eq ($query{StackedGroupBy} // '')) ? 1 : 0,
206+
StackedId => 'StackedGroupBy-4',
207+
Class => $Class,
208+
&>
209+
</fieldset>
210+
<fieldset><legend><% loc('and then') %></legend>
211+
<& Elements/SelectGroupBy,
212+
Name => 'GroupBy',
213+
Query => $query{Query},
214+
Default => $query{'GroupBy'}[4] // q{},
215+
ShowEmpty => 1,
216+
Stacked => $query{'GroupBy'}[4] && ($query{'GroupBy'}[4] eq ($query{StackedGroupBy} // '')) ? 1 : 0,
217+
StackedId => 'StackedGroupBy-5',
218+
Class => $Class,
219+
&>
220+
</fieldset>
199221
</&>
200222

201223
<&| /Widgets/TitleBox, title => loc("Calculate"), class => "chart-calculate" &>

0 commit comments

Comments
 (0)