Skip to content

Commit

Permalink
correctly filter system tiddlers from backlinks
Browse files Browse the repository at this point in the history
`!is[system]` was not correctly filtering out system tiddlers from the references section - moving it after `backlinks[]` correctly filters any system tiddlers out of the references section.
  • Loading branch information
lucible authored and crazko committed Feb 24, 2024
1 parent c459692 commit 3396738
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugins/rmnvsl/krystal/references.tid
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
title: $:/plugins/rmnvsl/krystal/references
tags: $:/tags/ViewTemplate

<$list filter="[!is[system]all[current]backlinks[]sort[title]] -[is[current]] +[limit[1]]" variable=none>
<$list filter="[all[current]backlinks[]!is[system]sort[title]] -[is[current]] +[limit[1]]" variable=none>
<ul class="krystal-references">
<li class="krystal-references__title"><strong><$transclude tiddler="$:/plugins/rmnvsl/krystal/referenceshere" field="text" mode="inline" /></strong></li>
<$list filter="[!is[system]all[current]backlinks[]sort[title]] -[is[current]]">
<$list filter="[all[current]backlinks[]!is[system]sort[title]] -[is[current]]">
<li class="krystal-references__reference">
<$link>
<b><$view field="title" /></b>
Expand All @@ -13,4 +13,4 @@ tags: $:/tags/ViewTemplate
</li>
</$list>
</ul>
</$list>
</$list>

0 comments on commit 3396738

Please sign in to comment.