summaryrefslogtreecommitdiff
path: root/Sora/Views/Post/Grid/PostGridView.swift
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-09 02:51:54 -0700
committerFuwn <[email protected]>2025-09-09 02:51:54 -0700
commit7b9e3730b3a80d142143e178fe0ab15181beebf4 (patch)
tree67706851faabfae886d6f2b694aaf3bf891d1de4 /Sora/Views/Post/Grid/PostGridView.swift
parentfeat: Development commit (diff)
downloadsora-testing-7b9e3730b3a80d142143e178fe0ab15181beebf4.tar.xz
sora-testing-7b9e3730b3a80d142143e178fe0ab15181beebf4.zip
feat: Development commit
Diffstat (limited to 'Sora/Views/Post/Grid/PostGridView.swift')
-rw-r--r--Sora/Views/Post/Grid/PostGridView.swift6
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)
}