Resolving broken sorting, fixes #366
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
// Release details
|
// Release details
|
||||||
// These are automatically injected to built HTML
|
// These are automatically injected to built HTML
|
||||||
var build = "1550432146";
|
var build = "1550468519";
|
||||||
var version = "3.32.4";
|
var version = "3.32.4";
|
||||||
|
|
||||||
// Construct the script tag
|
// Construct the script tag
|
||||||
|
|||||||
@ -1272,6 +1272,8 @@ export let sortItems = function (array, property, reverse = false, sort_map = nu
|
|||||||
// Otherwise continue looping to the end of the split property
|
// Otherwise continue looping to the end of the split property
|
||||||
value = value[property_element];
|
value = value[property_element];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
function compare(a,b){
|
function compare(a,b){
|
||||||
|
|||||||
@ -272,7 +272,7 @@ class LibraryArtists extends React.Component{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Followers',
|
label: 'Followers',
|
||||||
value: 'followers.total'
|
value: 'followers'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Popularity',
|
label: 'Popularity',
|
||||||
|
|||||||
@ -227,7 +227,7 @@ class LibraryPlaylists extends React.Component{
|
|||||||
label: 'Owner'
|
label: 'Owner'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
value: 'tracks.total',
|
value: 'tracks_total',
|
||||||
label: 'Tracks'
|
label: 'Tracks'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user