feat: sorting for all entities

This commit is contained in:
2025-03-12 16:24:28 +07:00
parent 8cf6d7ed73
commit 7e140bd2ce
4 changed files with 11 additions and 10 deletions

View File

@@ -61,7 +61,6 @@ func (service *AuthorService) Count() (int64, error) {
amount, err := dal.Author.Count()
return amount, err
}
func (service *AuthorService) SortedByOrder(fieldsSortOrder map[string]string) ([]*Author, error) {
return utils.SortByOrder(fieldsSortOrder, Author{})
}