-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autogenerate proposition voting ID #11
Comments
this fixes the creating of propositions inside the admin cp with the finished status |
The implementation for issue #11 is suggested as follows by Tobias and Holger: Counters are managed for each combination of proposition type and voting phase.
When editing proposition types it is possible to enter a pattern for a proposition When submitting an edited ballot, the pattern mentioned above is evaluated and the counter |
The pattern is stored in the column 'abbreviation' of table 'proposition_types'.
|
It should be possible to autogenerate proposition voting IDs when propositions are assigned to a voting phase from a string template. This is configured per proposition type and is optional.
Example: If the proposition is the first one of its type associated with a voting phase and the string template for the proposition type is "{abbreviation}{:03d}" with abbreviation set to "WP" the voting ID would be "WP001".
The text was updated successfully, but these errors were encountered: