From 9e73b3b2bd571b5f7dd752db80bc86f27d2300dd Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Thu, 26 May 2016 00:57:06 -0400 Subject: enable user list --- src/guff.cr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/guff.cr') diff --git a/src/guff.cr b/src/guff.cr index 7eb284a..6b842f8 100644 --- a/src/guff.cr +++ b/src/guff.cr @@ -1042,13 +1042,14 @@ module Guff a.name, a.email, a.is_active, - b.role + b.role, + b.name AS role_name FROM users a JOIN roles b ON (b.role_id = a.role_id) - ORDER BY LOWER(a.email) + ORDER BY LOWER(a.name) ", } -- cgit v1.2.3