From 3aa5a049de785dfe848d69d34606dfc6d05d2638 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 24 Jul 2018 22:46:18 +0200 Subject: [PATCH] bugfix: date sorting, newest first --- list.sh | 2 +- style.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.39.2