Closed gergely-ujvari closed 9 years ago
I suppose we should then also remove the and 'type' in l
in merge_links
. Otherwise we return to the inconsistency I pointed at earlier, and the same error will occur but only later, when a document is merged into another.
Thanks @Treora you're right.
Okay removed it from merge_links
too.
LGTM.
This is a quick fix for an error I've introduced which can result in searches for uri not bringing back annotations.
Error description
document.location.href
into the document metadata link without a typedocument.location.href
Therefore if the if we search for an uri of the page and that page doesn't contain a link to itself with a type (common thing among webpages) then the search for that uri will bring back nothing because the document metadata does not contain that uri, and that is not our intention.
Fix #116