Compare commits
No commits in common. "d54c017d40b8ee03fa96a497378ff7e2ca3a5a3c" and "df8a4c258a542294cc40462ee097fa9df6766b84" have entirely different histories.
d54c017d40
...
df8a4c258a
@ -33,7 +33,6 @@ public function index()
|
||||
|
||||
return $this->vuew('index', [
|
||||
'departments' => department::where('name', 'LIKE', "%{$q}%")
|
||||
->orWhere('description', 'LIKE', "%{$q}%")
|
||||
->select([
|
||||
'id',
|
||||
'name',
|
||||
|
||||
@ -24,7 +24,7 @@ class department extends Model
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'description'
|
||||
'description',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user