Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataview doesn't reset to first page after filtering #5599

Closed
pvqa opened this issue Apr 20, 2018 · 0 comments
Closed

Dataview doesn't reset to first page after filtering #5599

pvqa opened this issue Apr 20, 2018 · 0 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@pvqa
Copy link

pvqa commented Apr 20, 2018

I'm submitting a ...

[X ] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Please check if request is not on the roadmap already https://github.com/primefaces/primeng/wiki/Roadmap
[ ] support request => Please do not submit support request here, instead see http://forum.primefaces.org/viewforum.php?f=35

Current behavior
https://www.primefaces.org/primeng/#/dataview
If the current page is 5 and filtering some brand Dataview doesn't reset to first page, shows me empty view. I have to do click in the page number 1 so Dataview shows me data.

Expected behavior
https://www.primefaces.org/primeng/#/table/filter
Dataview should have the same behavior than Datatable when filtering something.

Minimal reproduction of the problem with instructions

  1. Go to page number 5
    screen shot 2018-04-20 at 4 27 22 pm

  2. Filtering the brand 'honda': Dataview doesn't show data.
    screen shot 2018-04-20 at 4 27 40 pm

  3. Go to page number 1: Dataview shows data.
    screen shot 2018-04-20 at 4 28 11 pm

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • Angular version: 5.X
  • PrimeNG version: 5.X
  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]

  • Node (for AoT issues): node --version =

@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Dec 17, 2018
@cagataycivici cagataycivici added this to the 7.0.4 milestone Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

3 participants