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

Bugfix/change transcript selection to most recent #259

Conversation

jonlin14
Copy link
Contributor

@jonlin14 jonlin14 commented Mar 9, 2023

Link to Relevant Issue

#256

Description of Changes

Change ordering of transcripts to created timestamp in descending order.

Link to Forked Storybook Site

I changed my branch to point at production's config and I can confirm that the transcripts have changed. Does it look to be the correct one?

https://jonlin14.github.io/cdp-frontend/#/events/efb9560456b1
https://councildataproject.org/seattle/#/events/efb9560456b1

Also, I published the page with the config change to point to production but I didn't commit that change. Let me know if I should include it or not.

@evamaxfield
Copy link
Member

Looks good to me. Can you add a few things to this PR.

  1. do include the swap from seattle staging to seattle prod
  2. can you simply log the transcript object to console. It's useful for debugging.

@BrianL3
Copy link
Collaborator

BrianL3 commented Mar 9, 2023

I am surprised this did not require a re-indexing. Maybe they were already indexed by that property?

@evamaxfield
Copy link
Member

I am surprised this did not require a re-indexing. Maybe they were already indexed by that property?

They are! https://github.com/CouncilDataProject/cdp-backend/blob/main/cdp_backend/database/models.py#L559

@evamaxfield evamaxfield merged commit 4dc2599 into CouncilDataProject:main Mar 9, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants