mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
Be case insensitive when sorting on the visualize and dashboard landing pages (#13397)
This commit is contained in:
parent
e545b12018
commit
db4eb64aef
2 changed files with 4 additions and 4 deletions
|
@ -27,12 +27,12 @@ export function DashboardListingController($injector, $scope) {
|
|||
const sortableProperties = new SortableProperties([
|
||||
{
|
||||
name: 'title',
|
||||
getValue: item => item.title,
|
||||
getValue: item => item.title.toLowerCase(),
|
||||
isAscending: true,
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
getValue: item => item.description,
|
||||
getValue: item => item.description.toLowerCase(),
|
||||
isAscending: true
|
||||
}
|
||||
],
|
||||
|
|
|
@ -25,12 +25,12 @@ export function VisualizeListingController($injector) {
|
|||
const sortableProperties = new SortableProperties([
|
||||
{
|
||||
name: 'title',
|
||||
getValue: item => item.title,
|
||||
getValue: item => item.title.toLowerCase(),
|
||||
isAscending: true,
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
getValue: item => item.type.title,
|
||||
getValue: item => item.type.title.toLowerCase(),
|
||||
isAscending: true,
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue