diff --git a/util/search/search.go b/util/search/search.go index 60472a8f..1b96529b 100644 --- a/util/search/search.go +++ b/util/search/search.go @@ -149,7 +149,7 @@ func searchByQuery(r *http.Request, pagenum int, countAll bool) ( } if search.Status != 0 { if search.Status == common.FilterRemakes { - conditions = append(conditions, "status > ?") + conditions = append(conditions, "status <> ?") } else { conditions = append(conditions, "status >= ?") } @@ -194,4 +194,4 @@ func searchByQuery(r *http.Request, pagenum int, countAll bool) ( return }) return -} +} \ No newline at end of file