Is it possible to specify that All Pages should be sorted alphabetically by default? Or to make a chosen sort order “stick” for the remainder of a session?
As I see, query tables remember chosen sorting. So you can list all pages with such query:
#+BEGIN_QUERY
{:title “All pages”
:query [:find (pull ?b [*])
:where
[?b :block/name _]
]
}
#+END_QUERY
And then sort table by page name.
Also, it is possible to sort query results with sort-by
function, but I still do not understand how it works.
1 Like
Thank you, this is interesting, and something I could refine to list only pages within a project. On line #2 of your snippet : I had to replace curly quotes with straight ones.
1 Like