mirror of
https://gitlab.com/mbugroup/lti-api.git
synced 2026-05-23 14:55:42 +00:00
adjust default order dan sort by
This commit is contained in:
@@ -71,7 +71,7 @@ func (s locationService) GetAll(c *fiber.Ctx, params *validation.Query) ([]entit
|
||||
)
|
||||
`, utils.ProjectFlockCategoryLaying)
|
||||
}
|
||||
return db.Order("created_at DESC").Order("updated_at DESC")
|
||||
return db.Order("locations.name ASC").Order("locations.id ASC")
|
||||
})
|
||||
|
||||
if scopeErr != nil {
|
||||
|
||||
Reference in New Issue
Block a user