atlas-engineer / nyxt

Nyxt - the hacker's browser.
https://nyxt-browser.com/
9.64k stars 404 forks source link

`prompter:active-attributes-keys` must not depend on the order of the arguments #3368

Open aadcg opened 3 months ago

aadcg commented 3 months ago

Noticed when working on #3362. Steps to reproduce below.

Nyxt @ 9fb9036f6

Patched

modified   source/mode/file-manager.lisp
@@ -166,7 +166,7 @@ defun make-file-source-preprocessor
 (define-class file-source (prompter:source)
   ((prompter:name "Files")
    (prompter:active-attributes-keys
-    '("Name" "Extension" "Directory")
+    '("Extension" "Name" "Directory")
     :accessor nil)
    (prompter:filter-preprocessor (make-file-source-preprocessor))
    (prompter:enable-marks-p t)