-
Bug
-
Resolution: Fixed
-
Major
-
4.2.0
-
None
-
4.2 M3
See attached screenshots. If saving a query like ((a AND b) or C), and you apply it, you got (a AND b AND c).
It is not a probleme of persisting values, as when reapplying them, it is the good object passed :
{
"type": "OR",
"expressions": [
{
"type": "AND",
"expressions": [
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "1",
"value": "1"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "2",
"value": "2"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "3",
"value": "3"
}
]
},
{
"type": "AND",
"expressions": [
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "4",
"value": "4"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "5",
"value": "5"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "6",
"value": "6"
}
]
},
{
"type": "AND",
"expressions": [
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "7",
"value": "7"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "8",
"value": "8"
},
{
"type": "criterion",
"id": "metadata-title-eq",
"op": "ne",
"rawValue": "9",
"value": "9"
}
]
}
]
}