Followup from #1268150: Ajax doesnt work with BEF Links.
AJAX and BEF links now work for single-select filter, but not multi-select filters (those with the "Allow multiple selections" option ticked).
Followup from #1268150: Ajax doesnt work with BEF Links.
AJAX and BEF links now work for single-select filter, but not multi-select filters (those with the "Allow multiple selections" option ticked).
Comments
Comment #1
mikeker commentedComment #2
chanac_hares commentedHello
This feature is it integrated into the latest dev version ?
Comment #3
mikeker commented@chanac_hares: no, that's why the issue is marked as "Active."
Comment #4
davorama commentedIn includes/form.inc there is this at line 1371 (drupal 7.41):
but if you have used BEF to convert a boolean to be a single on/off checkbox that only indicates
the 'on' state your $v in $options[$v] will be 0 and $options[$v] will not be set.
I've kludged my way around this by changing
if (!isset($options[$v])) {to
if (!isset($options[$v]) && $v!==0) {Which is not the right way to fix this but maybe this will help the maintainers
find a real solution?
Comment #5
geoffreyr commentedI'm working with a patched version right now that uses data-* attributes at the theme level to determine values and reset buttons for multiselect links. Would anyone be interested in this?
Comment #6
seemas commentedhello,geoffreyr. Im interested in your solution as long as I do not have some other better patch.
thanks.
Comment #7
brightboldThanks @mikeker for identifying this bug — I couldn't figure out why my filters were behaving so strangely so you saved me a ton of time. I worked around the problem by disabling multiple select; it would be great to get this fixed in the module.
Comment #8
ya-radmir-88 commentedI'm installed the patch from other BEF issue Can't unselect link (#11). BEF Links and AJAX worked for multiple selections.
Comment #9
neslee canil pintoHi, there will be no more future development for 7.x branch. If you see this issue in 8.x, feel free to file an issue. Closing this as Closed(wont fix).