liquid_feedback_core
changeset 565:17c9cca2938b
Fixed wrong comparison when considering absolute initiative quorum (greater-equal instead greater-than)
author | jbe |
---|---|
date | Wed Sep 27 15:32:15 2017 +0200 (2017-09-27) |
parents | fc09088587b2 |
children | 74f98b2196ef |
files | core.sql update/core-update.v3.2.2-v4.0.0.sql |
line diff
1.1 --- a/core.sql Mon Sep 25 14:44:35 2017 +0200 1.2 +++ b/core.sql Wed Sep 27 15:32:15 2017 +0200 1.3 @@ -6083,7 +6083,7 @@ 1.4 LOOP 1.5 IF 1.6 "initiative_row"."polling" OR ( 1.7 - "initiative_row"."satisfied_supporter_count" > 1.8 + "initiative_row"."satisfied_supporter_count" >= 1.9 "policy_row"."initiative_quorum" AND 1.10 "initiative_row"."satisfied_supporter_count" * 1.11 "policy_row"."initiative_quorum_den" >=
2.1 --- a/update/core-update.v3.2.2-v4.0.0.sql Mon Sep 25 14:44:35 2017 +0200 2.2 +++ b/update/core-update.v3.2.2-v4.0.0.sql Wed Sep 27 15:32:15 2017 +0200 2.3 @@ -3126,7 +3126,7 @@ 2.4 LOOP 2.5 IF 2.6 "initiative_row"."polling" OR ( 2.7 - "initiative_row"."satisfied_supporter_count" > 2.8 + "initiative_row"."satisfied_supporter_count" >= 2.9 "policy_row"."initiative_quorum" AND 2.10 "initiative_row"."satisfied_supporter_count" * 2.11 "policy_row"."initiative_quorum_den" >=