Skip to content
This repository has been archived by the owner on Dec 8, 2022. It is now read-only.

Searching a List component breaks paging #696

Closed
Blackbaud-ScottFreeman opened this issue May 16, 2017 · 3 comments
Closed

Searching a List component breaks paging #696

Blackbaud-ScottFreeman opened this issue May 16, 2017 · 3 comments
Assignees

Comments

@Blackbaud-ScottFreeman
Copy link
Contributor

Expected behavior

Searching a list should update the data and the number of pages for the list. You might also expect that the page number should be updated to page 1 since filtering the data could likely change the page that items will appear on.

Actual behavior

The items appear to be filtered, but the paging info on the bottom remains the same.

Steps to reproduce

Use the following component examples linked below.

https://developer.blackbaud.com/skyux2/components/list

If you're on page 2, and only 1 page exists after filtering, it still shows page 2. Clicking on page 1 causes the paging section to disappear. Clearing the filter does not cause it to reappear.

Plunker

I would have linked to a plunker but the List component plunker seems to be broken as well.

@Blackbaud-PatrickOFriel
Copy link
Contributor

In 2.0.0-beta.27

@Blackbaud-ScottFreeman
Copy link
Contributor Author

Same day fixes. Nice.

@Blackbaud-PatrickOFriel
Copy link
Contributor

Ha, I was in the zone yesterday

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants