Commit b98bf741 authored by Randall Leeds's avatar Randall Leeds

Don't accumulate entity URIs on aliased searches

Search each one individually. This was always the intent but the code
was wrong.
parent 395f10d1
...@@ -512,7 +512,7 @@ class Hypothesis extends Annotator ...@@ -512,7 +512,7 @@ class Hypothesis extends Annotator
unless this.entities[uri]? unless this.entities[uri]?
console.log "Loading annotations for: " + uri console.log "Loading annotations for: " + uri
this.entities[uri] = true this.entities[uri] = true
this.loadAnnotationsFromSearch (angular.extend query, uri: uri) this.loadAnnotationsFromSearch (angular.extend {}, query, uri: uri)
# When the store plugin finishes a request, update the annotation # When the store plugin finishes a request, update the annotation
# using a monkey-patched update function which updates the threading # using a monkey-patched update function which updates the threading
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment