mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-17 15:21:22 +00:00
Extend lookup operator to work with fields and indexes (#5742)
* extend lookup op flexibility with 2 parameters
* bumped .from macro to .24
* aligned syntax
* lookup fixes
* bugfix
* docs
* messed up the tests somehow
* docs fix
* lookup bugfix
* docs
* docs
* call self.displayError
* Revert "call self.displayError"
This reverts commit 5d599aa979.
* storylist
* tests
* tests pass
This commit is contained in:
@@ -211,6 +211,8 @@ Tests the filtering mechanism.
|
||||
it("should handle the lookup operator", function() {
|
||||
expect(wiki.filterTiddlers("Six Seventh 8 +[lookup[Tiddler]]").join(",")).toBe("Missing inaction from TiddlerOne,,Tidd");
|
||||
expect(wiki.filterTiddlers("Six Seventh 8 +[lookup:8[Tiddler]]").join(",")).toBe("Missing inaction from TiddlerOne,8,Tidd");
|
||||
expect(wiki.filterTiddlers("Six Seventh 8 +[lookup:8[Tiddler],[text]]").join(",")).toBe("Missing inaction from TiddlerOne,8,Tidd");
|
||||
expect(wiki.filterTiddlers("Six Seventh 8 +[lookup[Tiddler],[tags]]").join(",")).toBe(",one,one");
|
||||
});
|
||||
|
||||
it("should retrieve shadow tiddlers", function() {
|
||||
|
||||
Reference in New Issue
Block a user