mirror of
https://github.com/logseq/logseq.git
synced 2026-05-29 15:09:41 +00:00
fix(cli): node fields columns
uuid field didn't exist and ident is nonsensical as `list node` explicitly filters out all tags and properties which are the nodes with idents
This commit is contained in:
@@ -136,9 +136,7 @@
|
||||
|
||||
(def ^:private list-node-field-map
|
||||
{"id" :db/id
|
||||
"ident" :db/ident
|
||||
"title" :block/title
|
||||
"uuid" :block/uuid
|
||||
"type" :node/type
|
||||
"page-id" :block/page-id
|
||||
"page-title" :block/page-title
|
||||
|
||||
@@ -374,7 +374,6 @@
|
||||
["TYPE" (fn [item _] (normalize-node-type (:node/type item))) [:node/type] true]
|
||||
["PAGE-ID" (fn [item _] (:block/page-id item)) [:block/page-id]]
|
||||
["PAGE-TITLE" (fn [item _] (:block/page-title item)) [:block/page-title]]
|
||||
["IDENT" (fn [item _] (:db/ident item)) [:db/ident]]
|
||||
["UPDATED-AT" (fn [item now-ms] (human-ago (or (:updated-at item) (:block/updated-at item)) now-ms)) [:updated-at :block/updated-at]]
|
||||
["CREATED-AT" (fn [item now-ms] (human-ago (or (:created-at item) (:block/created-at item)) now-ms)) [:created-at :block/created-at]]])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user