# HG changeset patch # User jbe # Date 1336748935 -7200 # Node ID 4b8cc6fc2d0051d62a3b9dbc13c7658161b5b29c # Parent dc644643db997ab88e029665a60bba0cdfe2f007 Function "delegation_info": Do not set "other_trustee_id" when overriden by previous participation diff -r dc644643db99 -r 4b8cc6fc2d00 core.sql --- a/core.sql Thu May 10 22:58:25 2012 +0200 +++ b/core.sql Fri May 11 17:08:55 2012 +0200 @@ -2717,7 +2717,7 @@ "result"."delegation_loop" := 'first'; END IF; ELSIF "result"."other_trustee_id" ISNULL THEN - IF "current_row"."participation" THEN + IF "current_row"."participation" AND NOT "current_row"."overridden" THEN "result"."other_trustee_id" := "current_row"."member_id"; "result"."other_trustee_participation" := TRUE; "result"."other_trustee_ellipsis" := FALSE; diff -r dc644643db99 -r 4b8cc6fc2d00 update/core-update.v2.0.8-v2.0.9.sql --- a/update/core-update.v2.0.8-v2.0.9.sql Thu May 10 22:58:25 2012 +0200 +++ b/update/core-update.v2.0.8-v2.0.9.sql Fri May 11 17:08:55 2012 +0200 @@ -338,7 +338,7 @@ "result"."delegation_loop" := 'first'; END IF; ELSIF "result"."other_trustee_id" ISNULL THEN - IF "current_row"."participation" THEN + IF "current_row"."participation" AND NOT "current_row"."overridden" THEN "result"."other_trustee_id" := "current_row"."member_id"; "result"."other_trustee_participation" := TRUE; "result"."other_trustee_ellipsis" := FALSE;