Fix Search Filter

This commit is contained in:
2022-08-15 12:50:10 +07:00
parent 34eee31a38
commit 96e7aa1b31
3 changed files with 7 additions and 5 deletions

View File

@@ -40,6 +40,7 @@ class Formularium extends Model
return $query
->where('code', 'like', "%" . $search . "%")
->orWhere('name', 'like', "%" . $search . "%")
->orWhere('id', $search)
;
});
}