Skip to content

Commit 76dc5ca

Browse files
committed
MAGE-1151: fix page indexing
1 parent 1560abc commit 76dc5ca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Service/Page/IndexBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function __construct(
3838
*/
3939
public function buildIndexFull(int $storeId, array $options = null): void
4040
{
41-
$this->buildIndex($storeId, isset($options['ids'])?: null, null);
41+
$this->buildIndex($storeId, $options['ids'] ?? null, null);
4242
}
4343

4444
/**

Ui/Component/Listing/Column/Data.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function prepareDataSource(array $dataSource)
3030
$stringValue = '';
3131
foreach ($value as $k => $v) {
3232
if (is_string($k)) {
33+
$v = !is_array($v) ?: implode(",", $v);
3334
$stringValue .= '<br>&nbsp;&nbsp;&nbsp; - <strong>' . $k . '</strong> : '. $v;
3435
} else {
3536
$stringValue .= $v . ',';

0 commit comments

Comments
 (0)