瀏覽代碼

Agregado el el joinWith en obra Rubro

Jogibeda 5 月之前
父節點
當前提交
a0c3b450f5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/v1/controllers/ObraRubroController.php

+ 1 - 1
modules/v1/controllers/ObraRubroController.php

@@ -16,7 +16,7 @@ class ObraRubroController extends AuthController {
 		$idObra=trim($this->req->get("idObra",""));
 
 		$query = $this->queryInicial;
-
+		$query->joinWith("conceptoObra");
 		if ($id !== "") {
 			$query->andWhere(["id" => $id]);
 		}