liquid_feedback_core

changeset 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 dc644643db99
children 05eb08f56f09
files core.sql update/core-update.v2.0.8-v2.0.9.sql
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;
     2.1 --- a/update/core-update.v2.0.8-v2.0.9.sql	Thu May 10 22:58:25 2012 +0200
     2.2 +++ b/update/core-update.v2.0.8-v2.0.9.sql	Fri May 11 17:08:55 2012 +0200
     2.3 @@ -338,7 +338,7 @@
     2.4                "result"."delegation_loop" := 'first';
     2.5              END IF;
     2.6            ELSIF "result"."other_trustee_id" ISNULL THEN
     2.7 -            IF "current_row"."participation" THEN
     2.8 +            IF "current_row"."participation" AND NOT "current_row"."overridden" THEN
     2.9                "result"."other_trustee_id"            := "current_row"."member_id";
    2.10                "result"."other_trustee_participation" := TRUE;
    2.11                "result"."other_trustee_ellipsis"      := FALSE;

Impressum / About Us