feat(ui): pass search term as-is to query

The images service does not add the query filter if the search term is an empty string.
This commit is contained in:
psychedelicious 2024-07-01 19:53:20 +10:00
parent 390dc47db5
commit f0b1f0e5b6

View File

@ -22,7 +22,7 @@ export const selectListImagesQueryArgs = createMemoizedSelector(
is_intermediate: false, is_intermediate: false,
starred_first: gallery.starredFirst, starred_first: gallery.starredFirst,
order_dir: gallery.orderDir, order_dir: gallery.orderDir,
search_term: gallery.searchTerm.length ? gallery.searchTerm : undefined, search_term: gallery.searchTerm,
} }
: skipToken : skipToken
); );