Loris
Loris copied to clipboard
[Imaging_browser] Count query does not match filter results
Describe the bug The query used to count "New and pending imaging sessions" does not match the query that it links to in the imaging browser module.
For example, here are the CandIDs considered in the tasks widget query:
And here are the results of the imaging browser filter that the task links to:
In certain cases this will mean that the count will not match.
Sorry @MaximeMulder I didn't see that you had assigned yourself :)
I tried to change the query to emulate the behaviour of the imaging browser table, but I am advancing very slowly as there are too many things I don't know about these parts of the codebase. There may also be a cleaner design I am not aware of so I'll let this to someone else I think.
Still a relevant issue