mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 03:05:14 +00:00
order by date
This commit is contained in:
@@ -128,7 +128,7 @@ func (e *Rss) Feed(ctx context.Context, req *pb.FeedRequest, rsp *pb.FeedRespons
|
||||
q.Limit = int64(25)
|
||||
q.Order = model.Order{
|
||||
Type: model.OrderTypeDesc,
|
||||
FieldName: "ID",
|
||||
FieldName: "Date",
|
||||
}
|
||||
|
||||
if req.Limit > 0 {
|
||||
|
||||
Reference in New Issue
Block a user