Skip to content

Commit

Permalink
Merge branch 'master' of github.com:PrefLib/PrefLib-Django
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-Rey committed Mar 1, 2024
2 parents e63368c + 1aa0857 commit 8313a08
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions preflibapp/templates/preflib/dataset_all.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ <h1> Datasets </h1>

<p>
Sort by:
<a href="javascript:sortByName()" id="sort-name" style="font-weight: bold;">Dataset name (A-Z)</a> &middot;
<a href="javascript:sortByNew()" id="sort-new">Newest first</a> &middot;
<a href="javascript:sortByNew()" id="sort-new" style="font-weight: bold;">Newest first</a> &middot;
<a href="javascript:sortByOld()" id="sort-old">Oldest first</a> &middot;
<a href="javascript:sortByName()" id="sort-name">Dataset name (A-Z)</a> &middot;
<a href="javascript:sortByNum()" id="sort-num">Series Number</a>
</p>

Expand Down Expand Up @@ -184,6 +184,7 @@ <h2 class="dataset-title"><a href="{% url 'preflibapp:dataset' ds.series_number
window.onscroll = () => {
debounce(updateDatasetMenu, 75)();
};
sortByNew();
});

// Tag filter
Expand Down Expand Up @@ -244,4 +245,4 @@ <h2 class="dataset-title"><a href="{% url 'preflibapp:dataset' ds.series_number

{% include 'includes/footer.html' %}

</html>
</html>

0 comments on commit 8313a08

Please sign in to comment.