adjust sorting
This commit is contained in:
1 parent
a38964a1b4
commit
ae208bd39b
1 file changed
+4
-5
@@ -505,9 +505,9 @@
|
|||||||
>Right Repeater</a
|
>Right Repeater</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="/camera/rear"
|
href="/camera/back"
|
||||||
class="{% if camera_view_key == 'rear' %}active{% endif %}"
|
class="{% if camera_view_key == 'back' %}active{% endif %}"
|
||||||
>Rear</a
|
>Back</a
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href="/camera/left_pillar"
|
href="/camera/left_pillar"
|
||||||
@@ -555,7 +555,6 @@
|
|||||||
<div class="list-toolbar">
|
<div class="list-toolbar">
|
||||||
<span id="resultCount">0 clips</span>
|
<span id="resultCount">0 clips</span>
|
||||||
<select id="sortSelect" aria-label="Sort options">
|
<select id="sortSelect" aria-label="Sort options">
|
||||||
<option value="newest">Newest first</option>
|
|
||||||
<option value="oldest">Oldest first</option>
|
<option value="oldest">Oldest first</option>
|
||||||
<option value="name">Filename A–Z</option>
|
<option value="name">Filename A–Z</option>
|
||||||
</select>
|
</select>
|
||||||
@@ -601,7 +600,7 @@
|
|||||||
const resultCount = document.getElementById("resultCount");
|
const resultCount = document.getElementById("resultCount");
|
||||||
|
|
||||||
let query = "";
|
let query = "";
|
||||||
let sortMode = "newest";
|
let sortMode = "oldest";
|
||||||
let currentVideo = null;
|
let currentVideo = null;
|
||||||
|
|
||||||
function parseTimestamp(ts) {
|
function parseTimestamp(ts) {
|
||||||
|
|||||||
Reference in new issue
Block a user