From 2aa03ab2a0ec18f9fdad64e85bd852ed9243e7db Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Sun, 14 Apr 2013 13:08:00 -0400 Subject: [PATCH] Fix regression in identifications view; #449 --- branch.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/branch.sql b/branch.sql index b0646873b2..d67a701e32 100644 --- a/branch.sql +++ b/branch.sql @@ -63,8 +63,8 @@ BEGIN; CREATE VIEW current_identifications AS - SELECT DISTINCT ON (member, "group", identified_by) * - FROM identifications + SELECT DISTINCT ON (member, "group", identified_by) i.* + FROM identifications i JOIN participants p ON p.username = identified_by WHERE p.is_suspicious IS FALSE ORDER BY member