mirror of
https://github.com/org-roam/org-roam
synced 2025-09-06 15:13:30 -05:00
(feat): order backlinks by filename (#300)
Co-authored-by: Jethro Kuan <jethrokuan95@gmail.com>
This commit is contained in:
@@ -1085,9 +1085,10 @@ If item at point is not Org-roam specific, default to Org behaviour."
|
||||
|
||||
(defun org-roam--get-backlinks (file)
|
||||
"Return the backlinks for FILE."
|
||||
(org-roam-sql [:select [file-from, file-to, properties] :from file-links
|
||||
:where (= file-to $s1)]
|
||||
file))
|
||||
(org-roam-sql [:select [file-from, file-to, properties] :from file-links
|
||||
:where (= file-to $s1)
|
||||
:order-by (asc file-from)]
|
||||
file))
|
||||
|
||||
;;;; Updating the org-roam buffer
|
||||
(defun org-roam-update (file-path)
|
||||
|
Reference in New Issue
Block a user