mirror of
https://github.com/org-roam/org-roam
synced 2025-08-01 12:17:21 -05:00
(feat): fix citation links not showing up in graph (#547)
This change adds a `type` column to the refs column, and strips the prefix before storing the key in the `refs` table.
This commit is contained in:
@ -107,7 +107,7 @@
|
||||
|
||||
(expect (org-roam-db-query [:select * :from refs])
|
||||
:to-have-same-items-as
|
||||
(list (list "https://google.com/" (org-roam-test-abs-path "web_ref.org"))))
|
||||
(list (list "https://google.com/" (org-roam-test-abs-path "web_ref.org") "website")))
|
||||
|
||||
;; Expect rebuilds to be really quick (nothing changed)
|
||||
(expect (org-roam-db-build-cache)
|
||||
@ -299,7 +299,7 @@
|
||||
(it "delete web_ref"
|
||||
(expect (org-roam-db-query [:select * :from refs])
|
||||
:to-have-same-items-as
|
||||
(list (list "https://google.com/" (org-roam-test-abs-path "web_ref.org"))))
|
||||
(list (list "https://google.com/" (org-roam-test-abs-path "web_ref.org") "website")))
|
||||
(delete-file (org-roam-test-abs-path "web_ref.org"))
|
||||
(expect (org-roam-db-query [:select * :from refs])
|
||||
:to-have-same-items-as
|
||||
|
Reference in New Issue
Block a user