mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 04:44:37 +03:00
Fix query text field bug (#1528)
This commit is contained in:
@@ -626,11 +626,11 @@ const useList = <QueryResult extends IQueryResult, QueryData extends IDataItem>(
|
||||
// Compare constructed filter with current filter.
|
||||
// If different it's the result of navigation, and we update the filter.
|
||||
if (
|
||||
location.search &&
|
||||
location.search !== `?${filter.makeQueryParameters()}`
|
||||
history.location.search &&
|
||||
history.location.search !== `?${filter.makeQueryParameters()}`
|
||||
) {
|
||||
newFilter.configureFromQueryParameters(
|
||||
queryString.parse(location.search)
|
||||
queryString.parse(history.location.search)
|
||||
);
|
||||
update = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user