Skip to content

Commit f0fd2cc

Browse files
authored
Merge pull request #80 from zhlu9890/develop
update ontology_get_associated_samples for update in sample service
2 parents be3e221 + b840370 commit f0fd2cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/stored_queries/ontology/ontology_get_associated_samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ query: |
3939
FILTER t.created <= @ts AND t.expired > @ts
4040
limit 1
4141
FOR v, e, p IN 3 OUTBOUND t INBOUND sample_ontology_link, samples_nodes_edge, samples_ver_edge
42-
FILTER p.vertices[1].saved * 1000 >= t.created AND p.vertices[1].saved * 1000 < t.expired
42+
FILTER p.vertices[1].saved >= t.created AND p.vertices[1].saved < t.expired
4343
AND p.edges[0].created <= @ts AND p.edges[0].expired > @ts
4444
SORT p.vertices[1].id ASC
4545
RETURN {

0 commit comments

Comments
 (0)