File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,10 @@ public function getGroupByFields() {
449
449
public function setGroupByFields ($ groupByFields ) {
450
450
$ this ->groupByFields = $ groupByFields ;
451
451
}
452
+
453
+ public function addGroupBy ($ groupByField ){
454
+ $ this ->groupByFields []=$ groupByField ;
455
+ }
452
456
453
457
public function getGroupByFieldsCount () {
454
458
if (is_array ($ this ->groupByFields )) {
Original file line number Diff line number Diff line change @@ -711,6 +711,13 @@ public function getGroupByFields() {
711
711
public function setGroupByFields ($ _groupByFields ) {
712
712
$ this ->_instanceViewer ->setGroupByFields ($ _groupByFields );
713
713
}
714
+
715
+ public function addGroupBy ($ index ){
716
+ $ index = $ this ->_getIndex ($ index );
717
+ if ($ index !== false ) {
718
+ $ this ->_instanceViewer ->addGroupBy ($ index );
719
+ }
720
+ }
714
721
715
722
/**
716
723
*
You can’t perform that action at this time.
0 commit comments