@@ -41,7 +41,7 @@ func PageSearch(engine *xorm.Engine, controllername string, apiname string, tabl
return &presult, nil
}
- records := 0
+ var records int64
if cresult != nil && len(cresult) > 0 {
records = cresult[0]["records"].(int64)