更新搜索框
This commit is contained in:
1 parent
6e70a1d4df
commit
9c0d18a6d0
4 files changed
+38
-38
No files matched your search
@@ -24,7 +24,6 @@ func Index(w http.ResponseWriter, r *http.Request) {
|
||||
search := r.Form.Get("search")
|
||||
category := r.Form.Get("category")
|
||||
tag := r.Form.Get("tag")
|
||||
|
||||
if search != "" || category != "" || tag != "" {
|
||||
articles = models.ArticleSearch(&articles, search, category, tag)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user