light modification

This commit is contained in:
mr 2025-01-17 13:46:36 +01:00
parent ed787683f4
commit f72ceecc19

View File

@ -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)
}