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