diff --git a/models/utils/common.go b/models/utils/common.go index ab874f5..48141ec 100644 --- a/models/utils/common.go +++ b/models/utils/common.go @@ -146,6 +146,7 @@ func GenericSearch[T DBObject](filters *dbs.Filters, search string, defaultFilte if filters == nil && search != "" { filters = defaultFilters } + fmt.Println("filters", filters, wfa.GetType().String(), search) res_mongo, code, err := mongo.MONGOService.Search(filters, wfa.GetType().String()) return genericLoadAll[T](res_mongo, code, err, onlyDraft, f, wfa) }