From: Paul Hänsch Date: Tue, 24 Jul 2018 20:46:18 +0000 (+0200) Subject: bugfix: date sorting, newest first X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=3aa5a049de785dfe848d69d34606dfc6d05d2638;p=serve0 bugfix: date sorting, newest first --- diff --git a/list.sh b/list.sh index 2d9dff8..55fe331 100644 --- 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 } diff --git a/style.css b/style.css index 74944ab..2cf1c2f 100644 --- 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; }