(i)
| 2121 | // in-page table and the full-screen console). |
| 2122 | function _wifiFilterAps(q, std, issuesOnly) { |
| 2123 | const d = _wifiState.data; if (!d) return []; |
| 2124 | q = (q || '').toLowerCase(); |
| 2125 | const aps = d.aps.filter(a => |
| 2126 | (!q || (a.ssid || '').toLowerCase().includes(q) || (a.vendor || '').toLowerCase().includes(q) || a.bssid.includes(q)) |
| 2127 | && (!issuesOnly || (a.security_findings && a.security_findings.length)) |
| 2128 | && (!std || a.standard === std)); |
| 2129 | const k = _wifiState.sortKey || 'signal', dir = _wifiState.sortDir || -1; |
| 2130 | return aps.slice().sort((x, y) => { |
no test coverage detected