Ticket #678 (closed enhancement: fixed)

Opened 22 months ago

Last modified 20 months ago

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

Changed 20 months ago by MartinBudden

  • milestone set to 2.4.1

Changed 20 months ago by MartinBudden

  • status changed from new to closed
  • resolution set to fixed

Fixed in changeset:5894

Note: See TracTickets for help on using tickets.