Make filter default for me

Hello

Just a simple question this time…
image

Why the Make Default option is not available?

image

It´s a new empty project on the latest JMIX Version. I did nothing.

Thank you very much
Regards

Hello

You have more then one filter ? If not, the only filter is the default one …

Regards

Felix

Hello, Thank you for your response

I do,
image
The only thing I can do is set available for everyone and then mark as well default for everyone but I don´t want to.

Hi!

I checked it now - the action is available:
image

In order for the action to be applicable, the following conditions must be met:

  • genericFilter component must have an identifier
  • genericFilter component must be attached to a view
  • The selected configuration must not be empty (only saved configuration is allowed)
  • The settings facet must be present on the view (the action of setting a default configuration saves the selected configuration in the user settings)

Source code here:

io.jmix.flowuidata.action.genericfilter.GenericFilterMakeDefaultAction#isApplicable

I’m guessing you don’t have a settings facet on your view.

Best regards,
Dmitriy

Hi.

Thank you very much, I was blind, I was reading only the genericFilter part of docs.

Thank you for your time and sorry for this obvious problem/solution.
Have a nice weekend