Navigate between legislatures in Detail Page #153
Labels
No labels
Agent/Chrome-Android
Agent/Chrome-Desktop
Agent/Chrome-iOS
Agent/Firefox-Android
Agent/Firefox-Desktop
Agent/Firefox-iOS
Agent/Safari-Desktop
Agent/Safari-iOS
Code/Backend
Code/DB
Code/DevOps
Code/Frontend
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
overdrives/chambersbr#153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@aniram wrote in #143 (comment):
This problem here was not purely related to the fact that this deputy was from a different legislature but also due to the detail page using the SUM function which returns NULL in their case while the expected return type was float64.
I've set it to a float64 pointer for now but the best solution is for the detail page to be about the member's last legislature and MAYBE also show other legislatures if possible, currently it fetches data from the current legislature only except for the projects section since its data comes from across all legislatures.
This endpoint gives us all legislatures the deputy was elected for:
https://dadosabertos.camara.leg.br/api/v2/deputados/<MEMBER_ID>/historicoWe could also hide certain parts of the detail page according to the legislature.
Originally posted by @aniram in #143 (comment)