Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

All districts on proposal. #60

Open
skarampatakis opened this issue Oct 24, 2017 · 3 comments
Open

All districts on proposal. #60

skarampatakis opened this issue Oct 24, 2017 · 3 comments

Comments

@skarampatakis
Copy link

There are some cases where the proposed budget item may affect all or multiple districts. In this case, the current proposal creation form does not allow to model it, because it requires to select one.

We could create a new distrct called "All Districts", but this would break the filters. Is there any other way around?

@esebastian
Copy link
Collaborator

Not at the moment @skarampatakis. This possibility was discarded in the early stages of the project and it wasn't implemented.

Taking into account that we're going to review the filters implementation in #61, perhaps we can find a way for a global 'All Districts' filter to work.

Making the filters work with multiple, but not all, districts would be trickier. At the moment the only workaround I can think of is to create entries in the districts list in the form 'District A, district B', and then assign those entries when appropriate.

@skarampatakis
Copy link
Author

Maybe a many to many relationship would be a better approach on this?

@esebastian
Copy link
Collaborator

@skarampatakis As I told you that approach was discarded in the initial design, but you're welcome to create a PR with the proposed changes if you feel this is something that should be reconsidered.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants