mirror of
https://github.com/xiaoxinpro/nginx-proxy-manager-zh.git
synced 2025-02-02 09:48:13 -05:00
Remove debug
This commit is contained in:
parent
c849938da2
commit
fd365dc8fd
@ -4,7 +4,6 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"npm/internal/logger"
|
|
||||||
"npm/internal/model"
|
"npm/internal/model"
|
||||||
|
|
||||||
"gorm.io/gorm"
|
"gorm.io/gorm"
|
||||||
@ -37,8 +36,6 @@ func ScopeOrderBy(pageInfo *model.PageInfo, defaultSort model.Sort) func(db *gor
|
|||||||
}
|
}
|
||||||
|
|
||||||
func ScopeFilters(filters []model.Filter, filterMap map[string]filterMapValue) func(db *gorm.DB) *gorm.DB {
|
func ScopeFilters(filters []model.Filter, filterMap map[string]filterMapValue) func(db *gorm.DB) *gorm.DB {
|
||||||
logger.Debug("FILTERS: %+v", filters)
|
|
||||||
logger.Debug("FILTERMAP: %+v", filterMap)
|
|
||||||
return func(db *gorm.DB) *gorm.DB {
|
return func(db *gorm.DB) *gorm.DB {
|
||||||
for _, f := range filters {
|
for _, f := range filters {
|
||||||
// Lookup this filter field from the name map
|
// Lookup this filter field from the name map
|
||||||
|
Loading…
Reference in New Issue
Block a user