Skip to content
Snippets Groups Projects
Commit 9d926fca authored by Brian Moe's avatar Brian Moe
Browse files
Query on "Submitter" Broken.
parent 3c0d1653
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ eidQ = Optional(Suppress(Keyword("eid:"))) + (eid^eidRange)
eidQ = eidQ.setParseAction(maybeRange("eid", dbname="id"))
# Submitter
submitter = QuotedString('"').setParseAction(lambda toks: Q(submitter__name=toks[0]))
submitter = QuotedString('"').setParseAction(lambda toks: Q(submitter__username=toks[0]))
submitterQ = Optional(Suppress(Keyword("submitter:"))) + submitter
submitterQ = submitterQ.setParseAction(lambda toks: ("submitter", toks[0]))
......
......@@ -55,11 +55,13 @@
<h4>By Submitter</h4>
To specify events from a given submitter, indicate the name of the submitter in double quotes.
The <code>submitter:</code> is optional.
The <code>submitter:</code> is optional. While LIGO user names are predictable, most events
are submitted through robot accounts and are not as predictable. This is probably a defect
that ought to be remedied.
<ul>
<li>"CWB Analysis"
<li>"CWB Analysis" "Omega Analysis"
<li>submitter: "Joss Whedon" submitter: "Gilligan"
<li>"waveburst"
<li>"gstlalcbc" "gdb-processor"
<li>submitter: "joss.whedon@ligo.org" submitter: "gdb_processor"
</ul>
</div>
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