Commit Graph

6 Commits

Author SHA1 Message Date
Westly Wright 5bc4737743
Fix sorting on cloud credentials page
While I was cleaning this up I found that groupByRef in cc this case did nothing
so I removed it. This exposed a bug in the sortable-table code where groupByRef
was coming back null but when we tried to get it, using embers getter, it would
fail because we passed a null value instead of an empty string.

Additionally I found that when using presorts we were continuously pushing into
the sort array on the component, which never gets reset, so I decided to clone
the array. We rarely use preSorts so it was never caught.

Additionally we never add/remove the descending key to our presorts so I've
added that. Without these when we pass the sort to embers sort we'd never
correctly sort any presorts based the descending flag.

rancher/rancher#23828
2019-11-01 09:14:20 -07:00
loganhz ad64ec6411 Fix pagination issue for grouped resources
https://github.com/rancher/rancher/issues/15515
2018-09-11 14:58:38 +08:00
Vincent Fiduccia 0686d4840d
Revert part of eslint fix 2018-07-16 17:50:16 -07:00
Westly Wright 877ed1f522
More lint files changes (see lib) 2018-07-11 14:06:27 -07:00
Westly Wright 8b10cb04ff
new modules and imports 2017-11-07 10:14:13 -07:00
Westly Wright a78f199447
more moves for admin 2017-11-03 09:51:35 -07:00