Skip to content

update author logic in app.bills_mv sql script#432

Open
dsherbini wants to merge 1 commit into
mainfrom
dev
Open

update author logic in app.bills_mv sql script#432
dsherbini wants to merge 1 commit into
mainfrom
dev

Conversation

@dsherbini

Copy link
Copy Markdown
Collaborator

Updated to handle cases when primary_author column is blank. When it is blank, then full_name is blank and we need to use 'name' column instead of full_name, and also use title to distinguish b/w authors and coauthors.

Re-running this script to refresh app.bills_mv (and subsequently re-running views/org_bill_dashboard_custom.sql) solved the issue of some bills having 'None' for the author. Closes #420

Updated to handle cases when primary_author column is blank. When it is blank, then full_name is blank and we need to use 'name' column instead of full_name, and also use title to distinguish b/w authors and coauthors.
@dsherbini dsherbini self-assigned this Jun 9, 2026
@dsherbini dsherbini added bug Something isn't working high-priority Slowing workflow, or would unlock more users/efficiency/insights labels Jun 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working high-priority Slowing workflow, or would unlock more users/efficiency/insights

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue: some bills not pulling author

1 participant