[ckan-dev] Hide empty search facets boxes

Toby Dacre toby.okfn at gmail.com
Wed Apr 17 12:34:14 UTC 2013


On 17 April 2013 12:43, Sean Hammond <sean.hammond at okfn.org> wrote:

> Currently on the dataset search page in 2.0, if a site has no groups,
> there's still a box titled "Groups" at the top of the sidebar that just
> contains "There are no filters for this search". If the site isn't using
> groups at all (which seems common) this useless box will stay pinned at
> the top of the page forever, unless they use an IFacets plugin to hide
> it.
>
> This also applies to other facet types eg. tags when there are no tags
> on the site, etc.
>
> Should a facet box be hidden if there are no objects of that type on the
> site to facet by? Is this a feature we should add in 2.1?
>

I vote for fixing in 2.1

>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20130417/79afa27c/attachment-0001.html>


More information about the ckan-dev mailing list