Closed adamberenzweig closed 7 years ago
and here's a query to test with:
query TestSearch($queryString: String!) {
search(text:$queryString) {
snippet(text:$queryString),
... on Note {
title,
content
},
... on Item {
title
}
}
}
with variables
{
"queryString": "mur"
}
Reviewed 4 of 4 files at r1. Review status: all files reviewed at latest revision, 1 unresolved discussion.
_sub/demo/js/common/data/database.js, line 63 at r1 (raw file):_
let matchedField; let matchedValue; if (this.title.indexOf(queryString) !== -1) {
TODO: factor out
Comments from Reviewable
Review status: all files reviewed at latest revision, 1 unresolved discussion.
_Comments from Reviewable_
This change is![Reviewable](https://reviewable.io/review_button.svg)