pdaleramirez / super-filter

Other
6 stars 2 forks source link

Disable filter that has no results? #9

Closed mark-chief closed 4 years ago

mark-chief commented 4 years ago

Hello,

Is there a way to disable a filter if it has no results, or would return nothing?

So to prevent people from filtering right down to a "no results", the filters would be disabled.

Many thanks for this great plugin

pdaleramirez commented 4 years ago

@mark-chief there is no feature for that at the moment, but that can be done by modifying the template setup.twig via template override feature.