the "-Any-" selection of an exposed filter for "Flags: Flagged" is available when your view the view, but not when you edit the view. therefore you can't set the exposed "Flags: Flagged" filter to "-Any-" by default

Comments

realOFF’s picture

Status: Active » Closed (duplicate)
TimelessDomain’s picture

Status: Closed (duplicate) » Active

@realOFF - This is still broken in d7. the issue you linked to is d6. I looked for an open issue with views related to this for d7, but could not find one. The d6 issue may help though #347892: UI for boolean filters doesn't handle the "optional" exposed filter case

shawn dearmond’s picture

Status: Active » Needs review
StatusFileSize
new778 bytes

Here's a patch that fixes it for me.

TimelessDomain’s picture

Status: Needs review » Reviewed & tested by the community

It works! Thanks

realOFF’s picture

Will this work on D6?
Thanks.

TimelessDomain’s picture

d6 already works

a.siebel’s picture

Status: Reviewed & tested by the community » Needs review

Doesn't work for me.

a.siebel’s picture

Status: Needs review » Reviewed & tested by the community

sry, now it works... maybe i didn't empty the cache.

a.siebel’s picture

Status: Reviewed & tested by the community » Needs work

Ok, now I see the error:

When creating the new flag filter, the "any" option is not available.
After saving, you can edit the filter -> Now the option "any" is available.

TimelessDomain’s picture

yea it would be better to have the -any- option show up upon initially creating the filter. maybe have it appear by default or have the checking of the "optional" box make it appear by ajax. Though if you require input for the exposed filter, having the any option would be needed even if the flag was not optional.

quicksketch’s picture

Status: Needs work » Closed (duplicate)
gratefulsk’s picture

StatusFileSize
new109.07 KB

I came across this same problem, but I still can't seem to fix it. I get an error "You must select a value unless this is an non-required exposed filter."

Here is a screenshot.

mxr576’s picture

Issue summary: View changes

@gratefulsk Uncheck the required checkbox and you problem will be solved.