core icon indicating copy to clipboard operation
core copied to clipboard

FE-Filter and / or Mode for FE-User

Open MacKP opened this issue 12 years ago • 7 comments

Let the User pick what he would like to have. Should the Filter be AND or OR.

regards

MacKP avatar Feb 20 '13 11:02 MacKP

Can u give us a short usecase for this ?

stefanheimes avatar Aug 20 '14 21:08 stefanheimes

@MacKP clearification on this one?

You can add AND filter rules and OR filter rules, where is the problem?

discordier avatar Sep 20 '14 03:09 discordier

You can do it in the Backend thats right.. but not in the Frontend as an normal User of an Page. It would be nice, if the Frontend User can change it for ever rule he wanted. OK, it is possible with 2 Pages and 2 seperate Filter rules.. but in the long run it would be nice if an Frontend User can config it for every single Filter (like Color red AND blue / Color red OR blue) AND for the filter in between... (like Color red AND category chair / Color red OR category chair). I think it would be 'easy' to do it for all together change all to AND or all to OR. But i have no clue atm for changing it for everything by him selve... Changing it for one Filter should be similar to changing all...

Maybe we should make an diskusion in Mumble for that to make it clearer ;-)

regards

MacKP avatar Sep 20 '14 09:09 MacKP

-1

I don't think so. I have never seen such a option on the big sites like amzone. So i want to drop this reqquest. By the way, the publisher of the page should choose how the "products" should be displayed.

stefanheimes avatar Oct 25 '15 13:10 stefanheimes

I am currently also against this as I also do not know of any major site supporting something like this. I also have not the slightest clue how this should be done from an UI perspection. Do you want to add radio buttons for each and every filter control of how to apply the condition?

discordier avatar Oct 27 '15 02:10 discordier

dürfte von der "Idee" her ähnlich wie #820 sein...

zonky2 avatar Dec 30 '15 08:12 zonky2

Eine denkbare Möglichkeit, die Sache im BE handhabbar zu gestalten, könnte eine weiterer Filterregel-Typ (Junction) sein, der alle "Nested-Regeln" bei bestimmten Kriterien ausführt.

In dem Beispiel mit den Farben und der Unterscheidung nach AND vs. OR könnte man auf den Wert des Radiobutton (z.B. "color_combine") lauschen [junction] wenn color_combine = and ...[AND] ......[Auswahl] Color 1 ......[Auswahl] Color 2 [junction] wenn color_combine = or ...[OR] ......[Auswahl] Color 1 ......[Auswahl] Color 2

Voraussetzung wird wahrscheinlich sein, dass man in das Filtertemplate eigene Eingaben einbauen kann (hier die Radiobuttons) und diese vom Filter mit in der "URL-Umwandlung" behandelt werden.

zonky2 avatar Jan 05 '16 11:01 zonky2