Manual Import Sorting

Fixed: Manual Import sorting by quality
New: Manual Import sort by size
Closes #3334
This commit is contained in:
Mark McDowall 2020-03-01 11:51:27 -08:00
parent d7967e3e1b
commit b8ce274fa5
2 changed files with 2 additions and 1 deletions

View File

@ -66,6 +66,7 @@ const columns = [
{
name: 'size',
label: 'Size',
isSortable: true,
isVisible: true
},
{

View File

@ -47,7 +47,7 @@ export const defaultState = {
},
quality: function(item, direction) {
return item.quality ? item.quality.qualityWeight : 0;
return item.qualityWeight || 0;
}
},