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:
@@ -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:');
|
||||
|
||||
Reference in New Issue
Block a user