This filter shows 3 options:


Yes
No.

but looking at the SQL query of the view, it has the same clause for and Yes.

"AND (node.status <> 0)"

Shouldn't the query for not include this at all?

Comments

tchurch’s picture

Anyone?

dawehner’s picture

Status: Active » Needs review
StatusFileSize
new573 bytes

What about this one

It adds a check whether the user selected "All"

merlinofchaos’s picture

Priority: Normal » Major
Status: Needs review » Needs work

I just tested this without the patch and I can only reproduce this if the 'optional' checkbox is not checked.

In that case, the ANY option should not even appear. The bug is the appearance of that option if the filter is not optional.

merlinofchaos’s picture

Status: Needs work » Needs review
StatusFileSize
new2.23 KB

This patch should fix it.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Patch fixes the issue. There is no "any" anymore when it's not optional.

merlinofchaos’s picture

Status: Reviewed & tested by the community » Fixed

Committed to all branches.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.