Browse Source

busqueda por nombre de Unidad de medida

Jogibeda 9 months ago
parent
commit
7b12a5ca80
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/v1/controllers/UnidadMedidaController.php

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

@@ -27,7 +27,7 @@ class UnidadMedidaController extends AuthController
 
 
       $query->andWhere([
       $query->andWhere([
         "OR",
         "OR",
-        ["like", "id", $buscar]
+        ["like", "nombre", $buscar]
       ]);
       ]);
     }
     }