liquid_feedback_core
diff core.sql @ 247:4b8cc6fc2d00
Function "delegation_info": Do not set "other_trustee_id" when overriden by previous participation
author | jbe |
---|---|
date | Fri May 11 17:08:55 2012 +0200 (2012-05-11) |
parents | d09c17b01c5d |
children | 05eb08f56f09 |
line diff
1.1 --- a/core.sql Thu May 10 22:58:25 2012 +0200 1.2 +++ b/core.sql Fri May 11 17:08:55 2012 +0200 1.3 @@ -2717,7 +2717,7 @@ 1.4 "result"."delegation_loop" := 'first'; 1.5 END IF; 1.6 ELSIF "result"."other_trustee_id" ISNULL THEN 1.7 - IF "current_row"."participation" THEN 1.8 + IF "current_row"."participation" AND NOT "current_row"."overridden" THEN 1.9 "result"."other_trustee_id" := "current_row"."member_id"; 1.10 "result"."other_trustee_participation" := TRUE; 1.11 "result"."other_trustee_ellipsis" := FALSE;