History: sort by date actually sorts by datetime

This commit is contained in:
Ilya Kitaev 2016-11-03 23:26:40 +03:00
parent 550087f4a1
commit f38c6f4307

View File

@ -394,8 +394,8 @@ Rectangle {
model.sortRole = TransactionHistoryModel.TransactionPaymentIdRole
break;
case 1:
// Date;
model.sortRole = TransactionHistoryModel.TransactionDateRole
// Date (actually sort by timestamp as we want to have transactions sorted within one day as well);
model.sortRole = TransactionHistoryModel.TransactionTimeStampRole
break;
case 2:
// BlockHeight;