Skip to content

Commit ad3851f

Browse files
author
Hieu Lam - TMA
authored
fix-8850: Add id in sort (#9097)
1 parent b4a5ca2 commit ad3851f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/public/sessions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export default class SessionsRoute extends Route {
220220
session : await this.infinity.model('sessions', {
221221
include : 'track,speakers,session-type,favourite,microlocation.video-stream',
222222
filter : filterOptions,
223-
sort : params.sort || 'starts-at',
223+
sort : params.sort ? params.sort + ',id' : 'starts-at,id',
224224
perPage : 6,
225225
startingPage : 1,
226226
perPageParam : 'page[size]',

0 commit comments

Comments
 (0)