From f72ceecc191014b7a55b95ab6e6d51b97228de32 Mon Sep 17 00:00:00 2001 From: mr Date: Fri, 17 Jan 2025 13:46:36 +0100 Subject: [PATCH] light modification --- models/utils/common.go | 1 + 1 file changed, 1 insertion(+) 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) }