Sort by submitted_at and id instead of created_at in get_all_submissions().
This is consistent with the default ordering of the model and avoids ties in case to items have the same timestamp.
Showing
Please
register
or
sign in
to comment
This is consistent with the default ordering of the model and avoids ties in case to items have the same timestamp.