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

Added sorting , fixed field to datetime #1195

Merged
merged 8 commits into from
Nov 9, 2023

Conversation

saravanpa-aot
Copy link
Collaborator

  • Added a sorting for work status and issues
  • Added time to posted_date and added alembic schema for it

query = (
WorkIssues.query
.filter(cls.work_id == work_id)
.order_by(cls.is_approved.desc(), cls.start_date)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Grabbing your attention to this line, will this have the latest start date at the first index or the oldest? We might need to discuss to decide

@saravanpa-aot saravanpa-aot merged commit ecd276a into bcgov:develop Nov 9, 2023
3 checks passed
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.

3 participants