Skip to content

Remember a selected filter or pagination status when navigating & modifying resources #1925

Closed
@StanBarrows

Description

@StanBarrows
  • Laravel Version: 6.0.*
  • Nova Version: 2.3.0
  • PHP Version: 7.3.*

Description

I've got a complaint from one of my customers that was having trouble with selected filters. If you select a filter, for example the per Page Filters and navigate within a resource the selected value is getting lost after each interaction. This is quite annoying if you have a few filters.

  • The same is counting for pagination as well when saving the model and jumping back on the resource list. After you saved a resource there is no "back" button so you have to jump back on the left sided navigation ant the all fiter and pagination statui get are reseted.

Steps to reproduce

1. Select a per Page Filter and Switch the number of elements from 25 to 50

image

2. Edit an resources on the list
image

3. Cancel editing
image

4. Filter value got reseted
image

Paginate

The same is counting for pagination as well when saving the model and returning back on the resource list

1. Paginate through a list
image

2. Save the resource
image

3. Jump Back on the list
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementedFeature Request implemented

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions