- Issue created by @Grimreaper
- π«π·France Grimreaper France π«π·
Note: it would be nice to publish the dev version of the 2.0.x branch so issues can target it and so the branch will automatically be created when creating issue fork.
- @grimreaper opened merge request.
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:27pm 22 August 2023 - π«π·France Grimreaper France π«π·
Attaching patch for composer usage.
Thanks for the review.
- πΊπΈUnited States andileco
Thank you for this patch. The code looks good on the surface. Can you explain your use-case a little more so that I could try to replicate the issue?
I will create a dev branch.
-
andileco β
committed 1772b366 on 2.0.x authored by
Grimreaper β
Issue #3382646 by Grimreaper: Filter plugin: support operator choice
-
andileco β
committed 1772b366 on 2.0.x authored by
Grimreaper β
- Status changed to Fixed
over 1 year ago 7:09pm 22 August 2023 - π«π·France Grimreaper France π«π·
Hi @andileco,
Wow, thanks for the quick merge and new release!
My use case is: I have an user admin view with like 15 fields/columns, and wanted to either have some columns hidden by default then being able to display it or all columns displayed by default and I want to be able hide some.
I think the first scenario "hidden then displayed" is not possible with the module, or I missed something.
So in the second scenario "displayed then hidden", as the checkboxes (of the columns I restrict the options to) are unchecked by default, and when no checkboxes are checked all columns are displayed, having a logic of "choose which one to display" was not possible, so I ended up with the logic of "select which one you want to hide" so with the operator "not in" which was not working.
It is the first time I use this module, so I may have missed some config options?
If my scenario is not clear (which can easily be ^^), I can make a video recording.
- πΊπΈUnited States andileco
Hi @Grimreaper - I've uploaded a video of how it worked previously and then how it works now with the new release (your patch).
- π«π·France Grimreaper France π«π·
Hi @andileco,
Thanks a lot for the nice video.
So it confirms that "hidden then displayed" is not possible, only "Displayed then hidden". And now it is either choosing with fields to keep displayed or hide.
Automatically closed - issue fixed for 2 weeks with no activity.