😟 Sorry, we’re closed

Fix bug where filtered output clears

This fixes the bug where when navigating between pages in the pagination, it clears out all the filters from the results view. This doesn't solve the issue for the form clearing.

Edit: resources/views/layouts/default/flights/index.blade.php

</div>
<div class=row>
<div class=col-12 text-center>
{{ $flights->links(pagination.default) }}
+ {{ $flights->appends(\Illuminate\Support\Facades\Request::except(page))->links(pagination.default) }}
</div>
</div>
@endsection

Powered by BetterDocs

Leave a Reply

Your email address will not be published.Required fields are marked *