Laravel package to search through multiple Eloquent models. Supports sorting, pagination, scoped queries, eager load relationships and searching through single or multiple columns.
I'm using laravel-cross-eloquent-search version 2.4.
When I was trying to use ->includeModelType() to get the type I got the following error:
Call to undefined method ProtoneMedia\LaravelCrossEloquentSearch\Searcher::includeModelType()
I checked the Searcher.php file, but there isn't any method with this name (I found only getModelsPerType() method). How can I know which model is producing the result?
How can I fix this problem?
I'm using laravel-cross-eloquent-search version 2.4. When I was trying to use
->includeModelType()
to get the type I got the following error:I checked the
Searcher.php
file, but there isn't any method with this name (I found only getModelsPerType()
method). How can I know which model is producing the result? How can I fix this problem?