From 66be4de4282a4794ab698f4419c59b27a1782e17 Mon Sep 17 00:00:00 2001 From: Demian Katz Date: Tue, 23 Jan 2024 15:50:11 -0500 Subject: [PATCH] phpcbf --- module/VuFind/src/VuFind/Db/Service/ResourceService.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/VuFind/src/VuFind/Db/Service/ResourceService.php b/module/VuFind/src/VuFind/Db/Service/ResourceService.php index b78c27af434..a7164abc0f5 100644 --- a/module/VuFind/src/VuFind/Db/Service/ResourceService.php +++ b/module/VuFind/src/VuFind/Db/Service/ResourceService.php @@ -342,7 +342,6 @@ public static function getOrderByClause(string $sort, string $alias = 'r'): arra if (strtolower($rawField) != 'title') { $extraSelect = 'CASE WHEN ' . $alias . '.' . $rawField . ' IS NULL THEN 1 ELSE 0 END'; $order[] = $extraSelect; - } // Apply the user-specified sort: