Skip to content
Snippets Groups Projects
Commit ea54d650 authored by Brian Moe's avatar Brian Moe
Browse files

En..Em, GRB ID range search fix.

parent 8f88d1c1
No related branches found
No related tags found
No related merge requests found
......@@ -245,8 +245,10 @@ def parseQuery(s):
d["tid"] = d["tid"] & Q(group__name="Test")
if "hid" in d:
d["hid"] = d["hid"] & Q(analysisType="HWINJ")
if "eid" in d:
d["eid"] = d["eid"] & Q(analysisType="GRB")
if "id" in d:
d["id"] = d["id"] & ~Q(analysisType="HWINJ")
d["id"] = d["id"] & ~Q(analysisType="HWINJ") & ~Q(analysisType="GRB")
if "id" in d and "hid" in d:
d["id"] = d["id"] | d["hid"]
del d["hid"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment