fix: block/order shows up in all block queries

Users don't know about or understand this attribute so we should hide by
default. Revert part of 518076d835. No point in
handling advanced query edge case if it causes confusion
This commit is contained in:
Gabriel Horner
2025-10-30 12:55:46 -04:00
parent 28bc28ecd3
commit b847cfbcda

View File

@@ -373,7 +373,7 @@
(when-let [ident (or (:db/ident property) (:id property))]
;; Hide properties that shouldn't ever be editable or that do not display well in a table
(when-not (or (contains? #{:logseq.property/built-in? :logseq.property.asset/checksum :logseq.property.class/properties
:block/created-at :block/updated-at :block/collapsed?
:block/created-at :block/updated-at :block/order :block/collapsed?
:logseq.property/created-from-property}
ident)
(and with-object-name? (= :block/title ident))