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 c9dcda8 + 5cee017 commit 77613e2Copy full SHA for 77613e2
src/Facet.php
@@ -295,10 +295,7 @@ public function compileFacet()
295
296
foreach ($this->order_by as $order) {
297
$order_sub = $this->getConnection()->quoteIdentifier($order['column']).' ';
298
-
299
- if ($order['direction'] !== null) {
300
- $order_sub .= ((strtolower($order['direction']) === 'desc') ? 'DESC' : 'ASC');
301
- }
+ $order_sub .= ((strtolower($order['direction']) === 'desc') ? 'DESC' : 'ASC');
302
303
$order_arr[] = $order_sub;
304
}
0 commit comments