resets transaction search even if search text is not empty (#4461)

* resets transaction search even if search text is not empty

* added release notes

---------

Co-authored-by: Alec Bakholdin <abakho@icims.com>
This commit is contained in:
Alec Bakholdin
2025-02-26 19:03:50 -05:00
committed by GitHub
parent a72fd74c5e
commit 94f94497af
2 changed files with 7 additions and 0 deletions

View File

@@ -317,6 +317,7 @@ export function useTransactionsSearch({
resetQuery();
setIsSearching(false);
} else if (searchText) {
resetQuery();
updateQuery(previousQuery =>
queries.transactionsSearch(previousQuery, searchText, dateFormat),
);

View File

@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [alecbakholdin]
---
Fixed bug where partially erasing search string would not reset search and result in incorrect search results.