This commit is contained in:
CHIEFSOFT\ameye
2023-11-26 20:12:18 -05:00
parent 21d339daaf
commit c7ccea3421
@@ -428,6 +428,14 @@ long WrenchReturnJobList(CVars in, CVars &out) {
try {
long limit = REQ_LONG(in, "limit", 1, -1);
OPTIONAL(in, "member_id") REQ_LONG(in, "member_id", 1, -1);
OPTIONAL(in, "uid") REQ_STRING(in, "uid", 2, 149, "(.*)");
if ( in["member_id"].Long() > 0 && in["uid"] !=""){
logfmt(logINFO, "*** WrenchReturnJobList() member_id = %lu uid=%s", in["member_id"].Long(), in["uid"].c_str());
}
REQ_LONG(in, "page", 1, -1);
out["total_record"] = "0";
const PGresult *res;