Once using the checkboxes option rather than links, and particularly regarding taxonomy terms and/or content types, the auto-submit makes facets fairly annoying and hard to drill into a large set of content.

Is there currently any way to check various facet block options and then apply those choices to a result set?

Issue fork facetapi-1712468

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cpliakas’s picture

Version: 7.x-1.0 » 7.x-2.x-dev

doublejosh,

Agreed, and this gets a little tricky simply because you have to have to keep multiple forms in sync since you cannot have a single form wrap around multiple blocks. There is some code in Facetapi Slider that adds some form wrapper code which might get you on your way, but other than that there isn't a magic bullet that I can point you to.

There is no way this is getting into 7.x-1.x unless someone wants to write a contrib module, so moving to the 7.x-2.x branch. I think this code will be necessary to integrate into Facet API at some point to facilitate facets with better form widgets.

Thanks for the request,
Chris

doublejosh’s picture

Cool.

Perhaps the work around is to disable the auto-submit, then create a JS submit for all available blocks to build the new query URL.

mansspams’s picture

Check out issue #1132744: Implement fieldset realm for Drupal 7. It may be helpful.

drakythe’s picture

Issue summary: View changes

I know this is a fairly old issue, but has there been any work towards this type of functionality?

maxplus’s picture

Hi,
this would also be interesting for me.
I think there is a submit button already, but it is hidden

TheBarnacle’s picture

I would also find this helpful. Has there been any progress towards a solution?

NWOM’s picture

The Facet API Block sandbox module can provide a single submit for multiple facets by combining all of the Facets into a single block.

The only downside, is that it combines ALL facets by default. There is however an issue open regarding creating customized grouped blocks: #1280398: Group facets in multiple blocks. Sadly due to this, the sandbox module won't work for my use case, but I hope it helps others.

philsward’s picture

Funny this turned up to be the first issue in the thread while on my way to see if there was an issue on it...

I was just playing around with the 'autosubmit' of facets and was sorely disappointed there is not a way to "apply" multiple filters.

Point in case, Newegg.com took this approach. If you've ever shopped at newegg and looked at their filters, they have A LOT. When they implemented the autosubmit, it was cool for the first 5 seconds, until I realized I had to literally wait 5 seconds for that ONE FILTER to load. I usually have 6 - 8 filters I need to apply to drill down, so you can imagine my frustration. And, guess what... In less than 6 months, they abandoned the "autosubmit" and resorted back to a "check off the filters you want and hit apply when you're ready" approach. SOOOO much nicer.

At the end of the day, there is a time and place for autosubmit, this is not one of them, except for the very rare cases where the facet has a very small number of filters OR the site has so few indexed items, it doesn't become a performance hit.

+1 for a new option of [checkboxes with apply button]. This is a major UX issue that should be addressed and I'm surprised hasn't gained any traction.

Even after playing around with the "link" method, it's a horrible UX implementation as well. Your average user is too stupid to know to hit the - to remove the filter. Check boxes are the way to go.

mikeuross’s picture

Any update on this? Looking to move away from autosubmit and use search button instead.

euk’s picture

Surprised this wasn't touched in years.
Seems like v1.6 does it using simple JS on the front-end (even for multiple blocks). The minimum change would be to disable click handlers in favor of a button. If there is any extended behavior - back-end can generate additional js settings for the front-end to take into consideration...

j1mb0b made their first commit to this issue’s fork.

ericmartial’s picture

Any update on autosubmit ?