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

Function wireSearchBoolLink

search.js:848–860  ·  view source on GitHub ↗
(id, fn)

Source from the content-addressed store, hash-verified

846
847 // Just re-run performCombinedSearch which will use the current sort option
848 await performCombinedSearch();
849 });
850 }
851
852 // Add new event listeners for other filters
853 filterElements.forEach(elementId => {
854 const element = document.getElementById(elementId);
855 if (element) {
856 element.addEventListener('change', async (e) => {
857 // Skip if we're programmatically updating filters (e.g., when applying dateAdded filter)
858 if (window._suppressFilterEvents) {
859 return;
860 }
861
862 let consumedAwaitingTag = false;
863 if (elementId === "tag-filter") {

Callers 1

initializeCombinedSearchFunction · 0.85

Calls 1

performCombinedSearchFunction · 0.85

Tested by

no test coverage detected