Skip to content

Commit 6619229

Browse files
committed
Handle bools
1 parent 8b69a6d commit 6619229

7 files changed

+6624
-8276
lines changed

dist/typesense-instantsearch-adapter.js

Lines changed: 6614 additions & 8267 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typesense-instantsearch-adapter.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typesense-instantsearch-adapter.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/typesense-instantsearch-adapter.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/SearchRequestAdapter.js

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/SearchRequestAdapter.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SearchRequestAdapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ export class SearchRequestAdapter {
467467

468468
// If this is a conversational search, then move conversation related params to query params
469469
let commonParams = {};
470-
if (searches[0]?.conversation === true) {
470+
if (searches[0]?.conversation === true || searches[0]?.conversation === "true") {
471471
const { q, conversation, conversation_id, conversation_model_id } = searches[0];
472472
commonParams = { q, conversation, conversation_id, conversation_model_id };
473473

0 commit comments

Comments
 (0)