when sorting on updateDate use installDate as a fallback (#975)

This commit is contained in:
tophf 2020-06-25 18:51:08 +03:00 committed by GitHub
parent 60a37af0e0
commit 574f11b552
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ const sorter = (() => {
}, },
dateUpdated: { dateUpdated: {
text: t('dateUpdated'), text: t('dateUpdated'),
parse: ({style}) => style.updateDate, parse: ({style}) => style.updateDate || style.installDate,
sorter: sorterType.number sorter: sorterType.number
} }
}; };