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

Different fixes for Release 0.5.0 #667

Merged
merged 1 commit into from
Aug 27, 2019
Merged

Conversation

bsekachev
Copy link
Member

Resolved #666
Resolved #610
Resolved #500

Also fixed:

  • Button "Go to task" from an annotation view.
  • Couldn't create a task with 0 overlap

self.db_jobs = models.Job.objects.select_related("segment").filter(segment__task_id=pk)

# Postgres doesn't guarantee an order by default without explicit order_by
self.db_jobs = models.Job.objects.select_related("segment").filter(segment__task_id=pk).order_by('id')
Copy link
Contributor

@nmanovic nmanovic Aug 27, 2019

Choose a reason for hiding this comment

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

@bsekachev , Was the line a reason for problems with an assert for tasks with several jobs?

Copy link
Member Author

Choose a reason for hiding this comment

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

@nmanovic
Yes, it was. TaskAnnotation was formed wrong due to a segments order.

@nmanovic nmanovic merged commit 0c33055 into develop Aug 27, 2019
@bsekachev bsekachev deleted the bs/5ths_release_fixes branch August 27, 2019 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants