Ticket #678 (closed enhancement: fixed)
add paramifier, filter:"..." to show all tiddlers that match specified filterTiddlers() critieria
| Reported by: | EricShulman | Owned by: | JeremyRuston |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.4.1 |
| Component: | core | Version: | |
| Severity: | trivial | Keywords: | |
| Cc: |
Description
add URL paramifier,
#filter:"..."
that displays all tiddlers that match any filter criteria (including tag-matching), using the store.filterTiddlers() syntax. Note use of double-quotes to enclose value to ensure that square-brackets within filter syntax are passed through for processing.
config.paramifiers.filter = {
onstart: function(v) {
var tagged = store.filterTiddlers(v);
story.displayTiddlers(null,tagged,null,false,null);
}
};
This new feature has been successfully implemented on TiddlyTools see http://www.TiddlyTools.com/#CoreTweaks
Change History
Note: See
TracTickets for help on using
tickets.
