Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After 9 filters in 7 blocks it is not possible to set another new global filter with “global filters in this block” or “optional additional global filters”. This both options no more show in global filter block configuration. After delete a filter the options are show until 1 filter is set again then the options are still not show. Please see attached screenshot.
Comment | File | Size | Author |
---|---|---|---|
#4 | more_global_filters.patch | 5 KB | Alexander Hadj Hassine |
globalfilter.gif | 19.76 KB | Alexander Hadj Hassine |
Comments
Comment #1
Alexander Hadj Hassine CreditAttribution: Alexander Hadj Hassine commentedRTFM --> You can have a total of 9 global filters across 1-9 global filter blocks.
Why? Can I increase this value?
Comment #2
RdeBoerHello Alexander Hadj,
Thank you for being such a prolific user of View Global Filter!
Frankly I never thought the module would be so popular that anyone would need 10+ global filters!
Thank you so much for wanting the module so much!
The reason that you can't have more than 9 filters is that in the early days, when I developed this module and didn't think anyone would like this module as much as you do, I never catered for the number of filters being longer than 1 digit.
Looks like I have to now!
Changing to feature request....
Best regards,
Rik
Comment #3
Alexander Hadj Hassine CreditAttribution: Alexander Hadj Hassine commentedThanks for your fast answer. Yes your Global Filter module is still the best of his kind. I look forward for that feature. Thank you so much!
Regards Alex
Comment #4
Alexander Hadj Hassine CreditAttribution: Alexander Hadj Hassine commentedI have reviewed your module code and apply a patch to use 19 filters (When prepare global_filter_all.js it is possible to use up to 99 filters by correcting settings in other relations). I know your problem now, but think that your functions must refactor to solve the problem correctly. Hope that I do a little bit groundwork for that new feautur. I would be glad if you can review the patch.
Comment #5
RdeBoerThanks Alexander!
Rik
Comment #6
RdeBoerImplemented something similar to the above patch.
Maximum number of blocks is now 20.
Sorry for taking so long.
Comment #7
RdeBoer