MCPcopy Create free account
hub / github.com/error311/FileRise / normalizeAdminSearchText

Function normalizeAdminSearchText

public/js/adminPanel.js:5711–5716  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

5709}
5710
5711function normalizeAdminSearchText(value) {
5712 return String(value || "")
5713 .toLowerCase()
5714 .replace(/\s+/g, " ")
5715 .trim();
5716}
5717
5718function wireAdminPanelSearch(sectionIds) {
5719 const input = document.getElementById("adminSettingsSearch");

Callers 3

updateToggleStateFunction · 0.85
applyFilterFunction · 0.85
wireAdminPanelSearchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected