Skip to content

Commit

Permalink
修复无法关键字查询收藏的bug
Browse files Browse the repository at this point in the history
Fix bug with invalid keyword search for favorites
  • Loading branch information
jiangtian616 committed Apr 28, 2022
1 parent c24e821 commit 8f66fda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/src/model/search_config.dart
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,10 @@ class SearchConfig {
}

if (searchType == SearchType.favorite) {
if (keyword != null) {
params['f_search'] = keyword;
}

if (searchFavoriteCategoryIndex != null) {
params['favcat'] = searchFavoriteCategoryIndex;
}
Expand Down

0 comments on commit 8f66fda

Please sign in to comment.