controllers with new search

This commit is contained in:
mr
2024-08-01 09:27:38 +02:00
parent ea6c62be07
commit 815e1f48dc
9 changed files with 11 additions and 9 deletions

View File

@@ -55,7 +55,7 @@ func (o *ProcessingController) GetAll() {
// @router /search/:search [get]
func (o *ProcessingController) Search() {
search := o.Ctx.Input.Param(":search")
o.Data["json"] = oclib.Search(search, oclib.LibDataEnum(oclib.PROCESSING_RESOURCE))
o.Data["json"] = oclib.Search(nil, search, oclib.LibDataEnum(oclib.PROCESSING_RESOURCE))
o.ServeJSON()
}