-
Notifications
You must be signed in to change notification settings - Fork 27
Task list should only show tasks one can administrate #4087
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
Conversation
This is a pretty naive solution but it works and doesn't change the sql query, so I thought this would fix the problem 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this condition should rather be part of the SQL query. The current version probably breaks pagination, as this is handled on top of the SQL query, leading to possibly fewer results per page. Also this version is slower, probably not a bottleneck, though.
If this is urgent and/or the SQL variant too complex, we can also use this version. But I'd assume that in SQL this should just be a left join on the administrable task types.
Good catch! I forgot about that. I now added a |
Nice! That's actually even simpler than before. Just rename the whole access query to |
I don't think this works because the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, the current version is fine! Code LGTM, did not test it myself.
URL of deployed dev instance (used for testing):
Steps to test:
Issues: