I will see what is causing this issue
--------------- Added Tuesday 30 August 2011 at 22:03 ---------------
Okay issue.open was changed to issue.state, I don't remember in which release (maybe before 2.1.0).
--------------- Added Tuesday 30 August 2011 at 22:33 ---------------
Okay I copied code from thread search and didn't see the open/close state wasn't the same
You can remove this line:
PHP Code:
AND issue.open <> 10
In threads, open == 10 means a poll. There is no poll in issues