liquid_feedback_core
diff lf_update.c @ 155:043e6e235a53
Added configuration option to allow indirect supermajority requirements
- Added column "majority_indirect" to table "policy"
- Do not calculate "attainable" field in function "close_voting" but in function "calculate_ranks"
- Copy "positive_votes" and "negative_votes" from "battle" table, instead of calculating them seperatly
- Optionally regarding indirect (super)majorities in "calculate_ranks"
- Added column "majority_indirect" to table "policy"
- Do not calculate "attainable" field in function "close_voting" but in function "calculate_ranks"
- Copy "positive_votes" and "negative_votes" from "battle" table, instead of calculating them seperatly
- Optionally regarding indirect (super)majorities in "calculate_ranks"
author | jbe |
---|---|
date | Fri Jun 03 13:28:51 2011 +0200 (2011-06-03) |
parents | 0d03c57ebae5 |
children | ed2f94a397cd |
line diff