Skip to content

Commit

Permalink
fix: keep query string in pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiio committed May 2, 2023
1 parent 7e772e1 commit 6591c69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resources/views/ngos.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<x-cards.ngo_sm :ngo="$item"/>
@endforeach
</div>
{{$ngos->links()}}
{{$ngos->withQueryString()->links()}}
</section>
</x-layout>
2 changes: 1 addition & 1 deletion resources/views/services.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class="h-12 w-2/5 flex items-center justify-center border border-slate-300 @if(!
@foreach($services->items() as $service)
<x-cards.service_sm :service="$service"/>
@endforeach
{{$services->links()}}
{{$services->withQueryString()->links()}}
</div>

</section>
Expand Down

0 comments on commit 6591c69

Please sign in to comment.