diff options
author | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-02 10:35:39 -0400 |
---|---|---|
committer | Clark Laughlin <clark.laughlin@linaro.org> | 2015-07-02 10:35:39 -0400 |
commit | 4b138c101b10794a691df41d8aad814195382bc9 (patch) | |
tree | 88fc40490739c37e90ca8f54213662b2ed7f51b7 | |
parent | 983a31f99ecabca8723ddec1f0435ad5e294185f (diff) |
web app: change to use full test name when displaying diffs
-rw-r--r-- | web-app/server.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/web-app/server.go b/web-app/server.go index fffaae5..adc6cac 100644 --- a/web-app/server.go +++ b/web-app/server.go @@ -459,7 +459,7 @@ func Results_Tempest_Changes(w http.ResponseWriter, r *http.Request) { cq := neoism.CypherQuery{ Statement: `MATCH (ref:Tempest:Run)-[refr:HAS_TEST]-(test:Test)-[otherr:HAS_TEST]-(other:Tempest:Run) WHERE ref.lava_job = {ref} AND other.lava_job = {other} AND refr.status <> otherr.status - RETURN ref.lava_job as ref_lavajob, refr.status as ref_status, test.name as test_name, otherr.status as other_status, other.lava_job as other_lavajob + RETURN ref.lava_job as ref_lavajob, refr.status as ref_status, test.full_name as test_name, otherr.status as other_status, other.lava_job as other_lavajob UNION ALL MATCH (other:Tempest:Run)-[otherr:HAS_TEST]-(test2:Test) WHERE other.lava_job = {other} @@ -468,7 +468,7 @@ func Results_Tempest_Changes(w http.ResponseWriter, r *http.Request) { WHERE ref.lava_job = {ref} WITH ref, refr, test1 WHERE NOT (test1 IN other_tests) - RETURN ref.lava_job as ref_lavajob, refr.status as ref_status, test1.name as test_name, null as other_status, null as other_lavajob + RETURN ref.lava_job as ref_lavajob, refr.status as ref_status, test1.full_name as test_name, null as other_status, null as other_lavajob UNION ALL MATCH (ref:Tempest:Run)-[refr:HAS_TEST]-(test1:Test) WHERE ref.lava_job = {ref} @@ -477,7 +477,7 @@ func Results_Tempest_Changes(w http.ResponseWriter, r *http.Request) { WHERE other.lava_job = {other} WITH other, otherr, test2 WHERE NOT (test2 IN ref_tests) - RETURN null as ref_lavajob, null as ref_status, test2.name as test_name, otherr.status as other_status, other.lava_job as other_lavajob`, + RETURN null as ref_lavajob, null as ref_status, test2.full_name as test_name, otherr.status as other_status, other.lava_job as other_lavajob`, Parameters: neoism.Props{ "ref": ref, "other": other, |