Skip to content

Commit

Permalink
Update local_read_view.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tonquer committed Feb 25, 2023
1 parent 4fd1b77 commit 92b69fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/view/tool/local_read_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def ToSortData(self, value):
isRevert = (sortId != 0)
if sortKeyID == 0:
datas.sort(key=lambda a: a.lastReadTime, reverse=isRevert)
elif sortKeyID == 1:
elif sortKeyID == 2:
datas = natsorted(datas, key=lambda a:a.title, reverse=isRevert)
else:
datas.sort(key=lambda a: a.addTime, reverse=isRevert)
Expand Down

0 comments on commit 92b69fb

Please sign in to comment.