diff options
author | bobzel <zzzman@gmail.com> | 2020-09-28 00:39:13 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-28 00:39:13 -0400 |
commit | 0ba42a96a69f79b388c3279d683636f8cf6b0eab (patch) | |
tree | d2a0ca53866bd32ded2ade6120f5b6b05885e938 /src/client/util/SearchUtil.ts | |
parent | 8513eaae38d1cc4e8e9b30f656a4e58d22167351 (diff) |
fixed schemacells to accept '=' syntax to set on layout document.
Diffstat (limited to 'src/client/util/SearchUtil.ts')
-rw-r--r-- | src/client/util/SearchUtil.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/SearchUtil.ts b/src/client/util/SearchUtil.ts index 6657ab19c..08ad49dcc 100644 --- a/src/client/util/SearchUtil.ts +++ b/src/client/util/SearchUtil.ts @@ -44,7 +44,7 @@ export namespace SearchUtil { const header = query.match(/_[atnb]?:/) ? replacedQuery : "DEFAULT:" + replacedQuery; replacedQuery = `{!join from=id to=proto_i}* AND ${header}`; } - console.log("Q: " + replacedQuery); + console.log("Q: " + replacedQuery + " fq: " + options.fq); const gotten = await rp.get(rpquery, { qs: { ...options, q: replacedQuery } }); const result: IdSearchResult = gotten.startsWith("<") ? { ids: [], docs: [], numFound: 0, lines: [] } : JSON.parse(gotten); if (!returnDocs) { |