Following up on #1537074 and the patch committed there:

I have two exposed filters, both of which I am replacing the -Any - on; however, when I look at the Page, only one of the filters actually shows the replacement value for the -Any-. I've checked and rechecked, and the View is saving both of the replacement values in the BEF Settings ( I've cleared cache, resaved the View, and looked at the console.

#1 replacing_any_options-2088535-1.patch1.28 KBtatarbj
None View
bef.png69.38 KBeg2234
bef-result.png11.22 KBeg2234
Members fund testing for the Drupal project. Drupal Association Learn more


tatarbj’s picture

Assigned: Unassigned » tatarbj
Issue summary: View changes
Status: Active » Needs review
1.28 KB
None View

Hi all,
I have found this bug and create a patch which can fix them. The main problem with this the setting of any_label was outside the foreach which set the other things and this condition didn't look at settings array just the options, and it isn't enought.
So, if you can use this patch you can use the override of Any options in more than one exposed filter.

secretsayan’s picture


Cool! I got it working with this patch.


Denis Danielyan’s picture

indeed, works!

Thanks a lot!

mikeker’s picture

Status: Needs review » Closed (duplicate)

#2260691: Override "Any" label code is outside foreach loop was just committed and should fix this issue.

Thank you for the patch, though!