Skip to content

Commit

Permalink
Merge pull request #210 from 2i2c-org/reverse
Browse files Browse the repository at this point in the history
Make lists *actually* show in reverse chronological order
  • Loading branch information
yuvipanda authored Nov 26, 2024
2 parents b4839fa + e3b5ef5 commit 287b529
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frx_challenges/web/templates/results.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ <h1>Explanatory Headline</h1>
const resultsTable = new DataTable("#results", {
order: [
// Apply reverse chronological ordering by default
[3, "asc"]
[3, "desc"]
],
columnDefs: [
{
Expand Down
2 changes: 1 addition & 1 deletion frx_challenges/web/templates/submission/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ <h1>{{ submission.name }}</h1>
const resultsTable = new DataTable("#results", {
order: [
// Apply reverse chronological ordering by default
[2, "asc"]
[2, "desc"]
],
columnDefs: [
{
Expand Down
2 changes: 1 addition & 1 deletion frx_challenges/web/templates/submission/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>My Submissions</h1>
const resultsTable = new DataTable("#results", {
order: [
// Apply reverse chronological ordering by default
[3, "asc"]
[3, "desc"]
],
columnDefs: [
{
Expand Down

0 comments on commit 287b529

Please sign in to comment.