"OR" filter becomes "AND" filter when set by condition designer

Mehr
3 Jahre 8 Monate her #100854 von jonsen
jonsen erstellte das Thema "OR" filter becomes "AND" filter when set by condition desig
Hi everyone!

So I encountered something unexpected and would like to file a bug report. I just want to make sure that this wasn't my own fault...

When I set a condition based on ONE variable, the condition designer shows an "OR" between the conditions, as I expected. When saving this, the formula in the overview (and in the logic file) shows an "AND" between the condition. Testing this, the formula from the logic file is used, the survey filters faulty.

#########################################
CONDITION DESIGNER and EXPECTED BEHAVIOUR:
((a=="1") or (a=="5")) => question shown

OUTPUT and REAL BEHAVIOUR:
((a=="1") and (a=="5")) => question shown
#########################################

Of course, the second condition is impossible, so the question is NEVER shown. This happens ONLY when using the condition designer. Manually setting the relevance equation to ((a=="1") or (a=="5")) works as expected.

Best
Jonsen


Stats: Linux 2.6.32-5-amd64, Apache 2.x, PHP 5.3.3-7+squeeze17, LimeSurvey 2.00+ Build 130929

Bitte Anmelden um der Konversation beizutretten.

Mehr
3 Jahre 7 Monate her #101819 von jonsen
jonsen antwortete auf das Thema: "OR" filter becomes "AND" filter when set by condition desig
I can not find a bug report for this, but I'm not sure the error exists anymore - does anybody know if it was resolved?

Bitte Anmelden um der Konversation beizutretten.

Jetzt loslegen!

Melden Sie sich jetzt an, und erstellen Sie in wenigen Minuten Ihre erste Umfrage.

Account einrichten