Hello,
I'm facing an issue with exposed filters : when I add one, then my query gets a problematic 'where' with = '' (equals empty)
... AND (field_collection_item_node__field_fc_personnalite_jobs__field_collection_item__field_personnalite_acteur.field_personnalite_acteur_target_id = '')
Hence my page displays an empty result when opening it...
Is there any way to avoid this and display all nodes when every exposed filter is still empty ?
Any idea welcome...

Comments

artatum created an issue. See original summary.

mustanggb’s picture

Sounds like you need to set the default value of the filter.

renatog’s picture

Status: Active » Reviewed & tested by the community

Hi guys, good morning.

@artatum, the solution cited by @MustangGB in #2 makes sense.

Can you try use default values for check if equals?

It should works.

Please make a test and any quest comment for us ok?

Thank you very much.

Good Work and Good Week.

Regards.

renatog’s picture

Status: Reviewed & tested by the community » Fixed
artatum’s picture

Hi
Thanks for helping.
I dont think it would do the trick : we would need to find our old 'All' in the list, but it doesn't show up anymore in D8.
(unfortunately I cant access anymore to this project...)
I found that in fact it's because of a bug that prevents setting a OR between groups in exposed filters. I didn't find anything here about this, but it's a major bug for me that will lead me to definitly get back to Drupal 7 : my boss was pretty upset by his search pages not working as specified.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.