From 3d319605de6edffdaecdc5887ea5d877b404c951 Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Sun, 14 Jun 2020 00:32:39 +0200 Subject: [PATCH] Fix find_workgroups SQL query --- src/main/resources/sql/functions/workgroup/find_workgroups.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/sql/functions/workgroup/find_workgroups.sql b/src/main/resources/sql/functions/workgroup/find_workgroups.sql index e696af2..432b2c6 100644 --- a/src/main/resources/sql/functions/workgroup/find_workgroups.sql +++ b/src/main/resources/sql/functions/workgroup/find_workgroups.sql @@ -43,7 +43,7 @@ begin end, case direction when 'desc' then case sort - when 'title' then w.name + when 'name' then w.name when 'created_at' then w.created_at::text end end