File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 129129 (when-not (string/blank? input)
130130 (some (fn [block]
131131 (and
132- (:block/tags block)
133- (not (:block/parent block))
134- (= input (util/page-name-sanity-lc (:block/title block))))) blocks-result)))
132+ (:page? block)
133+ (= input (util/page-name-sanity-lc (:block.temp/original-title block))))) blocks-result)))
135134 include-slash? (or (string/includes? input " /" )
136135 (string/starts-with? input " /" ))
137136 start-with-slash? (string/starts-with? input " /" )
Original file line number Diff line number Diff line change @@ -426,6 +426,7 @@ DROP TRIGGER IF EXISTS blocks_au;
426426 :block/title (if (ldb/page? block)
427427 (ldb/get-title-with-parents block)
428428 (or snippet title))
429+ :block.temp/original-title (:block/title block)
429430 :block/page (or
430431 (:block/uuid (:block/page block))
431432 (when page
You can’t perform that action at this time.
0 commit comments