FIX: Buscar por nombre con wildcards
This commit is contained in:
@ -91,8 +91,8 @@ class Proyecto extends Ideal\Repository
|
||||
->select($this->columns())
|
||||
->from("{$this->getTable()} a")
|
||||
->joined($this->joinTerreno())
|
||||
->where("a.descripcion = ?");
|
||||
return $this->fetchOne($query, [$name]);
|
||||
->where("a.descripcion LIKE ?");
|
||||
return $this->fetchOne($query, ["%{$name}%"]);
|
||||
}
|
||||
public function fetchAllActive(): array
|
||||
{
|
||||
|
Reference in New Issue
Block a user