editor y administrador
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
|
||||
namespace App\Http\Livewire;
|
||||
|
||||
use App\Models\Log_general;
|
||||
use App\Models\Log_historial;
|
||||
use Livewire\Component;
|
||||
|
||||
class ShowLogGeneral extends Component
|
||||
class ShowLogHistorial extends Component
|
||||
{
|
||||
public $entradas;
|
||||
|
||||
@@ -14,7 +15,7 @@ class ShowLogGeneral extends Component
|
||||
|
||||
public function render()
|
||||
{
|
||||
$query = Log_historial::query();
|
||||
$query = Log_general::query();
|
||||
|
||||
if ($this->buscar) {
|
||||
$query->where('detalle', 'like', '%' . $this->buscar . '%');
|
||||
|
||||
Reference in New Issue
Block a user