We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 74a1d06 + 14a1f1a commit b0f1177Copy full SHA for b0f1177
src/Utilities/Request.php
@@ -86,7 +86,7 @@ public function orderableColumns(): array
86
/** @var string $direction */
87
$direction = $this->request->input("order.$i.dir");
88
89
- $order_dir = strtolower($direction) === 'asc' ? 'asc' : 'desc';
+ $order_dir = $direction && strtolower($direction) === 'asc' ? 'asc' : 'desc';
90
if ($this->isColumnOrderable($order_col)) {
91
$orderable[] = ['column' => $order_col, 'direction' => $order_dir];
92
}
0 commit comments