Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After Joplin update, all notes with no backlinks include backlinks to themselves #17

Open
samcan opened this issue Dec 22, 2023 · 1 comment

Comments

@samcan
Copy link

samcan commented Dec 22, 2023

Since upgrading to Joplin 2.13.8, I am experiencing an issue with Automatic Backlinks to note 3.0.3 where a note, if it doesn't have any backlinks, inserts a backlink section with itself listed as a backlink. If a note does have a backlink, it inserts the backlink section correctly.

I am not the only one with this issue; a thread has been created on the Joplin support discussion board discussing this.

I didn't have this issue with Joplin 2.12.19, but when I upgraded to Joplin 2.13.8, the issue manifested itself.

System details

Operating system
Windows

Joplin version
2.13.8

Desktop version info
Joplin 2.13.8 (prod, win32)

Client ID: cde4c37be9de46f8a08687eb5d825088
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: 604dcbc

Automatic Backlinks to note: 3.0.3
Emoji: 1.0.4
Markdown Prettier: 0.1.0
MultiMarkdown Table Tools: 1.1.0
Note Statistics: 1.0.4
Paste Special: 1.1.2
Plugin Bundle: 0.5.5
Search & Replace: 2.2.0
Templates: 2.4.0

@samcan
Copy link
Author

samcan commented Jan 23, 2024

After further testing, I believe this is actually a bug in Joplin, introduced in version 2.13.4, and have submitted a bug report: laurent22/joplin#9769

samcan added a commit to samcan/joplin-plugin-referencing-notes that referenced this issue Jan 24, 2024
Since Joplin 2.13.4, the search API has been changed to search using
the note's ID (returning the original note), if a text content search is
unsuccessful. This has the effect of including a backlink to the original
note if no notes link to it.

Filters the search results returned to not link to the original note, as
determined by the note's ID.

Closes ambrt#17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant