blackbaud / skyux2

SKY UX 2 is the new version of Blackbaud’s user experience framework that implements Blackbaud design patterns. It extends the framework to abstract many complexities of modern web development and takes advantage of Angular 2 to increase the tooling, testing, and performance available.
https://developer.blackbaud.com/skyux
MIT License
32 stars 65 forks source link

Grid list columns that use id instead of field break filters and sorting after a search is applied #2135

Closed blackbaud-conorwright closed 5 years ago

blackbaud-conorwright commented 6 years ago

Expected behavior

When one list item has an id and not a field: The list will be filtered down and highlighted after a search and additional filters are applied. Sorting should also reorder the list after the search is applied.

Actual behavior

When one list item has an id and not a field: Searching highlights all matching list items, but does not filter the list items down to match. Any additional filters applied are ignored as is sorting.

Steps to reproduce

  1. Create a grid list view with some items and a list toolbar
  2. Make one of the list columns have an id attribute and all others have a field attribute
  3. Type something in the search bar and search. See that the list is highlighted, but not filtered.
  4. Attempt to apply another filter or sorting and see that the new filter/sorting does not apply on the list.

Plunker

https://plnkr.co/edit/kgYEIf6NGON8o1xIN60j?p=preview

Severity

High

Impact

Low

Workaround

Add field attributes to the columns that only have id attributes

Blackbaud-SteveBrush commented 5 years ago

@blackbaud-conorwright Is there a pull request associated with this issue?