fix(api): address code review feedback - logging, wildcard escaping, UX

- Add exception logging in saved search error handlers
- Escape SQL LIKE wildcards (%, _) in tags filter to prevent unintended matching
- Improve UI alert message for empty filter save attempt

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-01 11:32:34 +00:00
parent cc9fd1a7fe
commit d5884f6d2c
4 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -1136,7 +1136,7 @@
if (val) filters[key] = val;
});
if (Object.keys(filters).length === 0) {
alert('No filters to save. Apply some filters first.');
alert('No filters to save. Please apply at least one filter (search, date, status, tags, etc.) before saving.');
return;
}
const name = prompt('Enter a name for this saved search:');