conflictos resueltos

This commit is contained in:
Juan Felipe Zapata Moreno 2025-07-08 09:28:09 -06:00
commit d54c017d40
2 changed files with 2 additions and 1 deletions

View File

@ -33,6 +33,7 @@ public function index()
return $this->vuew('index', [ return $this->vuew('index', [
'departments' => department::where('name', 'LIKE', "%{$q}%") 'departments' => department::where('name', 'LIKE', "%{$q}%")
->orWhere('description', 'LIKE', "%{$q}%")
->select([ ->select([
'id', 'id',
'name', 'name',

View File

@ -24,7 +24,7 @@ class department extends Model
*/ */
protected $fillable = [ protected $fillable = [
'name', 'name',
'description', 'description'
]; ];
/** /**