From 4179182ad06f2bdf714b7143880de8d77fbed5c5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 13 Apr 2018 15:10:22 +0200 Subject: [PATCH] No explicit sorting links --- templates/table/sortable-header.hamlet | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/templates/table/sortable-header.hamlet b/templates/table/sortable-header.hamlet index 1f358cbff..68a7806a4 100644 --- a/templates/table/sortable-header.hamlet +++ b/templates/table/sortable-header.hamlet @@ -1,12 +1,10 @@ -^{cellContents} $maybe flag <- sortableKey $case directions $of [SortAsc] - "-desc")}>desc - $of [SortDesc] - "-asc")}>asc - $of [] - "-desc")}>desc - "-asc")}>asc + "-desc")}> + ^{cellContents} $of _ + "-asc")}> + ^{cellContents} $nothing + ^{cellContents}