Skip to content

Commit

Permalink
Fix column not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdekruijk authored Mar 2, 2022
1 parent 8cc054f commit 53dff7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controllers/ModelController.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public function filter_pivot($columns)
{
$filtered = $columns;
foreach ($filtered as $columnId => $column) {
if ($column['type'] == 'pivot') {
if ($column['type'] == 'pivot' || $column['type'] == 'rows') {
unset($filtered[$columnId]);
}
}
Expand Down

0 comments on commit 53dff7f

Please sign in to comment.