MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / clearSearchClauseList

Function clearSearchClauseList

query-builder.js:320–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318
319 function isSearchOperand(tok) {
320 return tok && (tok.t === "clause" || tok.t === "filter" || tok.t === "filterMulti");
321 }
322
323 function appendSearchClauseFromSidebar(field, rawValue) {
324 initSearchClauseState();
325 const v = String(rawValue || "").trim();
326 if (!v) return false;
327 const tok = window.searchBoolTokens;
328 const last = tok.length ? tok[tok.length - 1] : null;

Callers

nothing calls this directly

Calls 1

setSearchQueryAwaitingFunction · 0.85

Tested by

no test coverage detected