Fix ordering
This commit is contained in:
parent
bc330a258e
commit
2269419629
@ -45,6 +45,7 @@ func Queue(c *fiber.Ctx) error {
|
|||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
|
||||||
|
finalReturn.StableSortByKey()
|
||||||
result := finalReturn.GetPage(adjustedPageNum, pageSize)
|
result := finalReturn.GetPage(adjustedPageNum, pageSize)
|
||||||
|
|
||||||
response := QueueResponse{
|
response := QueueResponse{
|
||||||
|
@ -49,7 +49,7 @@ func Packages(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
})
|
})
|
||||||
|
finalReturn.StableSortByKey()
|
||||||
result := finalReturn.GetPage(adjustedPageNum, pageSize)
|
result := finalReturn.GetPage(adjustedPageNum, pageSize)
|
||||||
|
|
||||||
response := PackagesResponse{
|
response := PackagesResponse{
|
||||||
|
Loading…
Reference in New Issue
Block a user