Fixed
Details
Details
Assignee
Thomas Scheffler
Thomas SchefflerReporter
Ralph Hollenbach
Ralph HollenbachComponents
Fix versions
Affects versions
Priority
Created July 7, 2015 at 10:22 AM
Updated July 30, 2015 at 1:23 PM
Resolved July 7, 2015 at 2:13 PM
Bei einer Suche die Abfrage
<query numPerPage="20">
<conditions format="xml">
<boolean operator="or">
<condition field="state" operator="=" value="submitted"/>
<condition field="state" operator="=" value="published"/>
</boolean>
</conditions>
</query>
ausgewertet zu
q=%2Bstate%3A%22submitted%22+%2Bstate%3A%22published%22
welches eine AND-Verknüpfing ist
Das ist auch der Fall, wenn <boolean operator="or">... </boolean> in
<boolean operator="and">.. </boolean> eingeschlossen wird.
Jedoch nicht, wenn eine weitere einfache oder geschachtelte condition dahinter oder auch davor steht:
<query numPerPage="20">
<conditions format="xml">
<boolean operator="and">
<boolean operator="or">
<condition field="state" operator="=" value="submitted"/>
<condition field="state" operator="=" value="published"/>
</boolean>
<boolean operator="not">
<condition field="state" operator="=" value="wasUnmögliches"/>
</boolean>
</boolean>
</conditions>
</query>
Dieser Fehler hat also ein Workaround, aber trotzdem ...