]> gitweb.factorcode.org Git - factor.git/commitdiff
http.server.static: fix column sorting
authorJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Jan 2023 00:23:46 +0000 (16:23 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Mon, 9 Jan 2023 00:23:46 +0000 (16:23 -0800)
basis/http/server/static/static.factor

index 2587a585c59664c112a3e413da5f0e47c5e61c34..a7b0e9f5b4fbd4a016b900e73d71e3149c077b80 100644 (file)
@@ -110,7 +110,7 @@ TUPLE: file-responder root hook special index-names allow-listings ;
 
 : sort-orders ( -- CO-N CO-M CO-S )
     "N" "M" "S" sort-column [
-        [ drop "?C=" ";O=" surround ]
+        [ drop "?C=" "&O=" surround ]
         [ ?toggle-sort-order ] 2bi append
     ] curry tri@ ;