---
date: 2022-06-19
tags:
- Logseq
category: TIL
title: til 2022-06-19 001
categories: TIL
lastMod: 2022-06-21
---
Instead of putting a query in my daily template, I can generate a running list of fleeting notes via a default query. I can do the same for a running list of drafts to work on. In the default query section of `config.edn`:

``` clojure
   {:title "💡 FLEETING"
    :query (and (property type fleeting) (not (property tags templates)) (not (task done)))
    :result-transform (fn [result]
                        (sort-by (fn [h]
                                   (get h :block/created-at)) result))
    :collapsed? true
    :breadcrumb-show? false}
   {:title "📝 DRAFTS"
    :query (and (property status draft) (not (property tags templates)))
    :result-transform (fn [result]
                        (sort-by (fn [h]
                                   (get h :block/created-at)) result))
    :collapsed? true
    :breadcrumb-show? false}
```
