Skip to content

Commit 35ad0e4

Browse files
committed
feat: sorting by last repetition date by default
1 parent cffe983 commit 35ad0e4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/models/eventsFactory.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,9 @@ class EventsFactory extends Factory {
170170
case 'BY_AFFECTED_USERS':
171171
sort = 'affectedUsers';
172172
break;
173+
default:
174+
sort = 'lastRepetitionTime';
175+
break;
173176
}
174177

175178
const pipeline = [

0 commit comments

Comments
 (0)