marmelab / marmelab/ng-admin

Page reload on create/edit/delete invalidates filters

Open
#1,374 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
3.9k
Forks
703
PR merge metrics
No merged PRs in 30d

Description

Prerequisites

I'm running latest version of code from github.

Description

If you set filters on list page and go to create/edit/delete page and refresh filters are lost when going back to list page.

Steps to Reproduce

http://embed.plnkr.co/mHBjj4gCKQHD2dNySwTW/

Open preview in a separate pahe
Go to users page in preview.
Add a filter.
Press create button.
Press browser refresh button.
Press list button.

Expected behavior: List is displayed with filter.

Actual behavior: List is displayed but with no filter.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue using the linked Plunker: open the users list, apply a filter, enter the create page, refresh, and return to the list. Trace how the AngularJS list state is handled across navigation and reloads; done means the filter remains applied when returning to the list.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs, javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.