File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed
Sales/Model/Resource/Report
Tax/Model/Resource/Report Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -104,13 +104,14 @@ protected function _getSelectedColumns()
104
104
/**
105
105
* Apply custom columns before load
106
106
*
107
- * @return void
107
+ * @return $this
108
108
*/
109
109
protected function _beforeLoad ()
110
110
{
111
111
$ this ->getSelect ()->from ($ this ->getResource ()->getMainTable (), $ this ->_getSelectedColumns ());
112
112
if (!$ this ->isTotals ()) {
113
113
$ this ->getSelect ()->group ($ this ->_periodFormat );
114
114
}
115
+ return parent ::_beforeLoad ();
115
116
}
116
117
}
Original file line number Diff line number Diff line change @@ -85,13 +85,14 @@ protected function _getSelectedColumns()
85
85
/**
86
86
* Apply custom columns before load
87
87
*
88
- * @return void
88
+ * @return $this
89
89
*/
90
90
protected function _beforeLoad ()
91
91
{
92
92
$ this ->getSelect ()->from ($ this ->getResource ()->getMainTable (), $ this ->_getSelectedColumns ());
93
93
if (!$ this ->isTotals ()) {
94
94
$ this ->getSelect ()->group ($ this ->_periodFormat );
95
95
}
96
+ return parent ::_beforeLoad ();
96
97
}
97
98
}
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ protected function _getSelectedColumns()
89
89
/**
90
90
* Apply custom columns before load
91
91
*
92
- * @return void
92
+ * @return $this
93
93
*/
94
94
protected function _beforeLoad ()
95
95
{
@@ -101,5 +101,6 @@ protected function _beforeLoad()
101
101
if ($ this ->isSubTotals ()) {
102
102
$ this ->getSelect ()->group ([$ this ->_periodFormat ]);
103
103
}
104
+ return parent ::_beforeLoad ();
104
105
}
105
106
}
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ protected function _getSelectedColumns()
87
87
/**
88
88
* Apply custom columns before load
89
89
*
90
- * @return void
90
+ * @return $this
91
91
*/
92
92
protected function _beforeLoad ()
93
93
{
@@ -99,5 +99,6 @@ protected function _beforeLoad()
99
99
if ($ this ->isSubTotals ()) {
100
100
$ this ->getSelect ()->group ([$ this ->_periodFormat ]);
101
101
}
102
+ return parent ::_beforeLoad ();
102
103
}
103
104
}
You can’t perform that action at this time.
0 commit comments