When I set the status to "Not flagged" and call the options form again it will be set to "All". Setting to "Not flagged" works, the problem is just that the form looses the default value in this case.

Comments

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new1.19 KB

Setting default value to '0' instead of 0 fixes the issue.

osopolar’s picture

Title: Views Exposed Filter Status is lost setting "Not flagged" each time the options form is opened. » Views filter criteria: Default value will not be set for option "Not flagged" each time the options form is opened.
joachim’s picture

Status: Needs review » Fixed

I have NO idea why the 0 needs to be stringified, but I can confirm it fixes the problem.

Good catch!

Issue #1483854 by osopolar: Fixed views flagged filter options form not showing default value for 'Not flagged' option.

joachim’s picture

Backported to 6.x-2.x and 6.x-1.x branches.

Status: Fixed » Closed (fixed)

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