If I enable the Language filter and put in the URL a filter for a language not present on the site, e.g. ?f[]=language:fr, I get a couple Notices:
* Notice: Uninitialized string offset: 0 in FacetapiAdapter->setBreadcrumb() (line 526 of /Users/Shared/www/modules/facetapi/plugins/facetapi/adapter.inc).
* Notice: Uninitialized string offset: 0 in FacetapiAdapter->buildCurrentSearch() (line 568 of /Users/Shared/www/modules/facetapi/plugins/facetapi/adapter.inc).
It also makes an invalid unclick link in the current search block.
I get the same Notices if I manually enter an invalid uid for an author filter, e.g. f[]=uid:589 for a site with 100 users.
Comments
Comment #1
pwolanin commentedComment #2
cpliakas commentedGood catch, and the code looks good. Will test out on my local instance.
Comment #3
cpliakas commentedThis looks good on my end. Commit when ready.
Thanks,
Chris
Comment #4
pwolanin commentedcommitted