I have been trying to create a system where I have three kinds of tiddlers: sources, topics and notes.
Each note tiddler would have a source field that lists a source [[Free Will (Harris)]], and a pagenumber field, and I would add topics as tags.
Each topic tiddler would be tagged .topic, and would have a corresponding viewtemplate tiddler that a) lists the sources for which there are notes for that topic, and b) under each source, a list of the notes from that source that are tagged with that topic.
Each source tiddler would be tagged .source, and would have a corresponding viewtemplate tiddler that a) lists the topics for which there are notes for that source, and b) under each topic, a list of the notes from that topic for which a literal search of the source field turns up a match for the source tiddlerâs title.
I couldnât get the topic tiddlers to work, even with @Brian_Radspinner 's additional help. So I donât have a screenshot.
I did get the source tiddlers to work, but they donât sort the pagenumber fields as âsortanâ. See screenshot below:
How can I get the snippet above to sort the list items correctly by sortan?
How can I âflipâ this in the other viewtemplate so that in the topic tiddler âFree willâ, sources will be listed in alphabetical order and under each source there will be a list of the notes for that source that have âFree willâ as a tag, and the list is sorted by the pagenumber field, in a sortan way?
To see the results, check out 2-2024 test. I havenât finished adding the css and plugins yet. And I think there are a couple things I need to change in the new note button. But it is essentially there.