mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 07:33:07 +01:00
Small tweaks
This commit is contained in:
5 files changed
+6
-29
No files matched your search
@@ -15,7 +15,7 @@ type Sort struct {
|
||||
Direction string `json:"direction"`
|
||||
}
|
||||
|
||||
// TableName overrides the table name used by gorm
|
||||
// GetSort ...
|
||||
func (p *PageInfo) GetSort(def Sort) []Sort {
|
||||
if p.Sort == nil {
|
||||
return []Sort{def}
|
||||
|
||||
Reference in new issue
Block a user