Skip to content

Commit

Permalink
Fix confusing wording for :query options - fix logseq#6751
Browse files Browse the repository at this point in the history
  • Loading branch information
logseq-cldwalker committed Sep 15, 2022
1 parent 0d9eeaa commit a2ef3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/config.edn
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,12 @@
;; Whether to show empty bullets for non-document mode (the default mode)
:ui/show-empty-bullets? false

;; Pre-defined :view function to use in Query
;; Pre-defined :view function to use with advanced queries
:query/views
{:pprint
(fn [r] [:pre.code (pprint r)])}

;; Pre-defined :result-transform function to use in Query
;; Pre-defined :result-transform function for use with advanced queries
:query/result-transforms
{:sort-by-priority
(fn [result] (sort-by (fn [h] (get h :block/priority "Z")) result))}
Expand Down

0 comments on commit a2ef3c5

Please sign in to comment.