No explicit sorting links

This commit is contained in:
Gregor Kleen 2018-04-13 15:10:22 +02:00
parent 05cd245102
commit 4179182ad0

View File

@ -1,12 +1,10 @@
^{cellContents}
$maybe flag <- sortableKey $maybe flag <- sortableKey
$case directions $case directions
$of [SortAsc] $of [SortAsc]
<a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-desc")}>desc <a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-desc")}>
$of [SortDesc] ^{cellContents}
<a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-asc")}>asc
$of []
<a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-desc")}>desc
<a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-asc")}>asc
$of _ $of _
<a href=#{tblLink $ setParam (wIdent "sorting") (Just $ flag <> "-asc")}>
^{cellContents}
$nothing $nothing
^{cellContents}