nicolaslopezj / searchable

A php trait to search laravel models
MIT License
2.01k stars 291 forks source link

Pagination doesn't work ? #81

Open shankhadevpadam opened 9 years ago

shankhadevpadam commented 9 years ago

The search is worked perfectly but the page number doesn't shown in the view file. While using the paginate.

AbdullahGhanem commented 9 years ago

i have same issue

mydnic commented 9 years ago

I guess this is a duplicate of https://github.com/nicolaslopezj/searchable/issues/73

ghost commented 8 years ago

my solution is Controller: $query = 'searchstring=' . $keyword . '&searchbedrooms=' . $bedroom_num . '&search__bathrooms=' . $bathroom_num; View: {!! $searched_properties->appends([$query])->render() !!}