Просмотр исходного кода

Agregado el el joinWith en obra Rubro

Jogibeda месяцев назад: 5
Родитель
Сommit
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]);
 		}