Ajoute la recherche par commentaire

This commit is contained in:
2020-09-04 10:18:47 +02:00
parent ad682460e2
commit 42ab41af8c
3 changed files with 10 additions and 0 deletions

View File

@@ -19,6 +19,8 @@ class HomeController extends Controller
{
$homes = QueryBuilder::for(Home::class)
->allowedFilters([
AllowedFilter::scope('comment'),
AllowedFilter::scope('price_min'),
AllowedFilter::scope('price_max'),