😟 Sorry, we’re closed
View Categories

Fix bug where filtered output clears

< 1 min read

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

Give us a call

Available from 8am to 6pm, Monday to Friday.

02392 982212
Send us a message

Send your message any time you want.

Whatsapp us!
Our usual reply time:  Up to 30 minute(s)
Facebook Message us!
Our usual reply time:  Up to Hour(s)