mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
Merge pull request #19 from streetwriters/fix-group-by-title
fix items sequence in 'abc' grouping
This commit is contained in:
@@ -14,7 +14,7 @@ const getSortSelectors = (options) => [
|
||||
{
|
||||
[options.sortDirection]: (item) => {
|
||||
if (options.sortBy === "title")
|
||||
return getFirstCharacter(item.alias || item.title);
|
||||
return item.alias || item.title;
|
||||
return item[options.sortBy];
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user