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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Alexander Hadj Hassine’s picture

RTFM --> You can have a total of 9 global filters across 1-9 global filter blocks.

Why? Can I increase this value?

RdeBoer’s picture

Title: Not possible to set another new global filter » Make it possible to set more than 9 global filters
Version: 7.x-1.10 » 7.x-1.11
Assigned: Unassigned » RdeBoer
Category: bug » feature
Priority: Critical » Normal

Hello 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

Alexander Hadj Hassine’s picture

Thanks 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

Alexander Hadj Hassine’s picture

I 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.

RdeBoer’s picture

Thanks Alexander!
Rik

RdeBoer’s picture

Issue summary: View changes

Implemented something similar to the above patch.
Maximum number of blocks is now 20.
Sorry for taking so long.

RdeBoer’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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