Fix sorting of player games.
This commit is contained in:
parent
08db4c0432
commit
e18d281b81
@ -937,7 +937,7 @@ pub async fn thread_system(mut app:App, bus:Bus<protocol::QRPacket>)
|
||||
|
||||
response.history = filter_sessions(&app, user_id, filter);
|
||||
response.history.sort_by(|a, b| {
|
||||
a.is_complete.cmp(&b.is_complete)
|
||||
(a.is_complete != 0).cmp(&(b.is_complete != 0))
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user