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

Function pushKind

query-builder.js:344–349  ·  view source on GitHub ↗
(kindKey, selId, kindProp)

Source from the content-addressed store, hash-verified

342 const atoms = [];
343 const printed = document.getElementById("printed-select")?.value || "all";
344 if (printed !== "all") atoms.push({ t: "filter", kind: "printed", value: printed });
345 const nnew = document.getElementById("new-select")?.value || "all";
346 if (nnew !== "all") atoms.push({ t: "filter", kind: "isNew", value: nnew });
347 const favorite = document.getElementById("favorite-select")?.value || "all";
348 if (favorite !== "all") atoms.push({ t: "filter", kind: "favorite", value: favorite });
349 const rating = document.getElementById("rating-select")?.value || "all";
350 if (rating !== "all") atoms.push({ t: "filter", kind: "rating", value: rating });
351 const ratingMin = document.getElementById("rating-min-select")?.value || "all";
352 if (ratingMin !== "all") atoms.push({ t: "filter", kind: "ratingMin", value: ratingMin });

Callers 1

Calls 1

effectiveScalarValuesFunction · 0.85

Tested by

no test coverage detected