mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 10:23:14 -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([
|
const sortableProperties = new SortableProperties([
|
||||||
{
|
{
|
||||||
name: 'title',
|
name: 'title',
|
||||||
getValue: item => item.title,
|
getValue: item => item.title.toLowerCase(),
|
||||||
isAscending: true,
|
isAscending: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'description',
|
name: 'description',
|
||||||
getValue: item => item.description,
|
getValue: item => item.description.toLowerCase(),
|
||||||
isAscending: true
|
isAscending: true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
|
@ -25,12 +25,12 @@ export function VisualizeListingController($injector) {
|
||||||
const sortableProperties = new SortableProperties([
|
const sortableProperties = new SortableProperties([
|
||||||
{
|
{
|
||||||
name: 'title',
|
name: 'title',
|
||||||
getValue: item => item.title,
|
getValue: item => item.title.toLowerCase(),
|
||||||
isAscending: true,
|
isAscending: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'type',
|
name: 'type',
|
||||||
getValue: item => item.type.title,
|
getValue: item => item.type.title.toLowerCase(),
|
||||||
isAscending: true,
|
isAscending: true,
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue