File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed
app/code/Magento/Backend/Block/Widget/Grid Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ public function getValue($index = null)
26
26
{
27
27
if ($ index ) {
28
28
if ($ data = $ this ->getData ('value ' , 'orig_ ' . $ index )) {
29
- // date('Y-m-d', strtotime($data));
30
29
return $ data ;
31
30
}
32
31
return null ;
@@ -154,7 +153,7 @@ public function getEscapedValue($index = null)
154
153
if (is_string ($ value )) {
155
154
return $ this ->escapeHtml ($ value );
156
155
}
157
-
156
+
158
157
return $ value ;
159
158
}
160
159
Original file line number Diff line number Diff line change @@ -276,13 +276,13 @@ public function getGridIdsJson()
276
276
}
277
277
/** @var \Magento\Framework\Data\Collection $allIdsCollection */
278
278
$ allIdsCollection = clone $ this ->getParentBlock ()->getCollection ();
279
-
279
+
280
280
if ($ this ->getMassactionIdField ()) {
281
281
$ massActionIdField = $ this ->getMassactionIdField ();
282
282
} else {
283
283
$ massActionIdField = $ this ->getParentBlock ()->getMassactionIdField ();
284
284
}
285
-
285
+
286
286
$ gridIds = $ allIdsCollection ->setPageSize (0 )->getColumnValues ($ massActionIdField );
287
287
if (!empty ($ gridIds )) {
288
288
return join (", " , $ gridIds );
Original file line number Diff line number Diff line change @@ -273,13 +273,13 @@ public function getGridIdsJson()
273
273
274
274
/** @var \Magento\Framework\Data\Collection $allIdsCollection */
275
275
$ allIdsCollection = clone $ this ->getParentBlock ()->getCollection ();
276
-
276
+
277
277
if ($ this ->getMassactionIdField ()) {
278
278
$ massActionIdField = $ this ->getMassactionIdField ();
279
279
} else {
280
280
$ massActionIdField = $ this ->getParentBlock ()->getMassactionIdField ();
281
281
}
282
-
282
+
283
283
$ gridIds = $ allIdsCollection ->setPageSize (0 )->getColumnValues ($ massActionIdField );
284
284
285
285
if (!empty ($ gridIds )) {
You can’t perform that action at this time.
0 commit comments