|Assignee:||Jean-Baptiste Barth||% Done:|
In our case at Planio, we had a query that was defined on all projects. The query had a filter of
project_id. Now, the
project_id is only valid outside of a project. If the query is run inside of a project, the
project_id filter will not be added to the
#2 Updated by Jean-Baptiste Barth about 3 years ago
No problem merging that, seems reasonable, but I don't reproduce the problem on my 2.5.2 instance. Say I have a project with id 1, I define a query on the cross-projects issue page with a condition on project_id = 1. When I go to the project (or an other one), the "addFilter" line is present for sure, but it doesn't break and looks like valid JS. Am I missing something ?
I'd just like to understand the problem and the conditions in which it occurs. And maybe write a tiny test as a documentation for the future.