]> git.plutz.net Git - serve0/commitdiff
bugfix: date sorting, newest first
authorPaul Hänsch <paul@plutz.net>
Tue, 24 Jul 2018 20:46:18 +0000 (22:46 +0200)
committerPaul Hänsch <paul@plutz.net>
Tue, 24 Jul 2018 20:46:18 +0000 (22:46 +0200)
list.sh
style.css

diff --git a/list.sh b/list.sh
index 2d9dff832cd480ab70f29cacc5e6dfa209ee36ba..55fe33176901c1c5b207b16f28e81a31f2f25edc 100644 (file)
--- a/list.sh
+++ b/list.sh
@@ -101,7 +101,7 @@ list_order(){
       printf '%i       %s      %s\n' \
              "$(stat -c %Y "$fn")" "${fm%      *}" "$fn"
     done \
-    | sort -n -k1 |cut -f2- |sed 's;^;metalong\t;;'
+    | sort -rn -k1 |cut -f2- |sed 's;^;metalong\t;;'
   fi
 }
 
index 74944ab86413798dfaf1f7baef3f957b174a96c4..2cf1c2f802937d75528762152abe4967d4c49a3d 100644 (file)
--- a/style.css
+++ b/style.css
@@ -94,7 +94,7 @@ a[href="#advsearch"]:before {
 
 #advsearch:target, #multitag:target,
 #prefs:target, #bookmarks:target {
-  max-height: 100em; overflow: visible;
+  max-height: 1000em; overflow: visible;
 }
 #advsearch:target { border-style: none none solid none; }
 #prefs:target { border-style: none none solid solid; }