UPDATE
This commit is contained in:
@@ -25,16 +25,16 @@ class ShowLogHistorial extends Component
|
||||
|
||||
if ($this->buscar) {
|
||||
$query->where(function ($query) {
|
||||
$query->where('detalle', 'like', '%' . $this->buscar . '%')
|
||||
$query->where('detalle', 'ILIKE', '%' . $this->buscar . '%')
|
||||
->orWhereHas('user', function ($query) {
|
||||
$query->where('name', 'like', '%' . $this->buscar . '%');
|
||||
$query->where('name', 'ILIKE', '%' . $this->buscar . '%');
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
if ($this->tipo) {
|
||||
$query->where('detalle', 'like', '%' . $this->tipo . '%');
|
||||
$query->where('detalle', 'ILIKE', '%' . $this->tipo . '%');
|
||||
}
|
||||
|
||||
if ($this->filtro_fecha) {
|
||||
|
||||
Reference in New Issue
Block a user