I’ve a aspect search with Aspect API, Search API, and a Solr backend with the Search API Views integration. I’m utilizing the Present Search block (a part of the Aspect API module) to show the at the moment chosen aspect choices.
Nevertheless, I’m additionally utilizing Views, and I’ve two uncovered filters with the autosubmit button on the web page. The issue is that customers can choose one of many views uncovered filters and it’ll not seem within the Present Search block, so it’s not apparent to the consumer that the outcomes are being additional filtered.
I’m additionally utilizing Aspect API Fairly Paths, so I’ve a path that appears like this:
myexample.com/s/n/1/b/2&items_per_page=8&jp=1&d=-
n/1
and b/2
are sides, &items_per_page=8
is the views pager, and &jp=1
and &d=-
are the views uncovered filters.
My purpose is to someway make it clear to the consumer that Views uncovered filters are affecting the outcomes. If it is doable to switch the Present Search block, I wish to try this, but when not, making a separate block/ctools content material kind to inform the consumer that the uncovered filters are utilized would even be acceptable.
I am not conscious of any modules that present the utilized uncovered filters, so I am excited about writing code to examine the question string for jp
and d
after which printing messages primarily based on the outcomes. If there may be a neater method, I might be glad to listen to it.