diff options
Diffstat (limited to 'Sora/Views/Post/Grid/PostGridView.swift')
| -rw-r--r-- | Sora/Views/Post/Grid/PostGridView.swift | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Sora/Views/Post/Grid/PostGridView.swift b/Sora/Views/Post/Grid/PostGridView.swift index 0722c02..57d155c 100644 --- a/Sora/Views/Post/Grid/PostGridView.swift +++ b/Sora/Views/Post/Grid/PostGridView.swift @@ -471,6 +471,12 @@ struct PostGridView: View { // swiftlint:disable:this type_body_length !component.isEmpty } + let query = BooruSearchQuery( + provider: manager.provider, + tags: inputTags + ) + + settings.appendToSearchHistory(query) await fetchLocalPosts(page: 1, tags: inputTags, replace: true) } |