-
Notifications
You must be signed in to change notification settings - Fork 4
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
exclude deleted annotations from csv download #310
exclude deleted annotations from csv download #310
Conversation
Looks good. My only question: Does doing the deleted check like I did in https://github.com/QutBioacoustics/baw-server/blob/b6b48089a1f790a3d2874fe4d8137dcc0d4f0d0b/app/models/analysis_jobs_item.rb#L159 offer any real advantages? |
Well, firstly, the comment "cast back to active record relation" is misleading - it isn't a cast, it's using the ActiveRecord I think you need line 160. Without line 160 ( |
I meant, for using in this fix... All the default scopes should be used, if they were this bug (#302) wouldn't have happened... |
Oh, righto. I'm not sure. The Arel query might be too complex to be able to make use of ActiveRecord for parts of it. It's a good thought, tho. |
Hi guys, |
@JessCappadonna this changeset will remain scoped to fixing the bug only (many small changes increase the speed at which we can ship fixes), however, I've taken your comment and integrated it into ideas we have discussed previously. You can comment and review here: #311 |
This is ready to merge. I have an idea to improve it. If I find the time before deploy I will experiment, otherwise, I'll merge. |
… was too much trouble
see #302