Skip to content
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

Add scope wherever we can #142

Open
4 tasks
Dynnammo opened this issue Nov 29, 2022 · 0 comments
Open
4 tasks

Add scope wherever we can #142

Dynnammo opened this issue Nov 29, 2022 · 0 comments

Comments

@Dynnammo
Copy link
Collaborator

Dynnammo commented Nov 29, 2022

Any resource has a single scope in Decidim , therefore we could make a left join with the name of the scope instead of letting currently the id of the scope.

select
decidim_scopes.name,
...
from blabla
left join decidim_scopes on decidim_scopes.id = decidim_scope_id
...
  • proposals
  • meetings
  • debates
  • projects

Not currently taken into account : accountability results, elections

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

No branches or pull requests

1 participant