mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 10:06:26 +00:00
Small tweaks
This commit is contained in:
@ -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