mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +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.Limit = int64(25)
|
||||||
q.Order = model.Order{
|
q.Order = model.Order{
|
||||||
Type: model.OrderTypeDesc,
|
Type: model.OrderTypeDesc,
|
||||||
FieldName: "ID",
|
FieldName: "Date",
|
||||||
}
|
}
|
||||||
|
|
||||||
if req.Limit > 0 {
|
if req.Limit > 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user