Browse Source

Agregado el el joinWith en obra Rubro

Jogibeda 5 months ago
parent
commit
a0c3b450f5
1 changed files with 1 additions and 1 deletions
  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]);
 		}