Add extra data to search result or conditional
thewebartisan7 opened this issue · 1 comments
thewebartisan7 commented
Seem there is no way to override the search results by adding more data apart url and title, right?
In my specific case, the url could be in admin or frontend, and I have also body and picture.
Thanks
thewebartisan7 commented
I see now that I can access whole model from $result->searchable
And for url, I could just build it conditionally from $result->searchable