thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.79k stars 2.67k forks source link

[BUG] lost page number and search params after edit #3916

Open sinkcup opened 5 years ago

sinkcup commented 5 years ago

Version information

Description

we can search and paginate in browse index page, so URL contains query string, but when I click edit, and save, voyager will redirect to index page, lost page number and search params.

Steps To Reproduce

Steps to reproduce the behavior:

  1. run php artisan voyager:install --with-dummy
  2. open local voyager web /admin/posts
  3. search by status=published, it's fine. URL: /admin/posts?key=status&filter=equals&s=published
  4. edit some posts, change "status" to "draft", save

Expected behavior

after edit and save, voyager should not lost page number and search params.

Screenshots

image

emptynick commented 5 years ago

Not a bug, more a feature.