mirror of
https://github.com/nkanaev/yarr.git
synced 2026-06-27 10:35:15 +00:00
storage: postgres fixes
This commit is contained in:
@@ -157,7 +157,7 @@ func listQueryPredicate(filter model.ItemFilter, newestFirst bool) (string, []an
|
||||
args = append(args, filter.Before)
|
||||
}
|
||||
|
||||
predicate := "1"
|
||||
predicate := "true"
|
||||
if len(cond) > 0 {
|
||||
predicate = strings.Join(cond, " and ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user