Ticket #387 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

Extend TiddlyWiki.prototype.search

Reported by: SaqImtiaz Owned by: SaqImtiaz
Priority: major Milestone: 2.2.6
Component: core Version: 2.1.03
Severity: undefined Keywords:
Cc:

Description

Right now, the function TiddlyWiki.prototype.search only lets you exclude certain tiddlers with a given tag from the search. Sometimes it is desirable to limit the search to tiddlers with a particular tag only, like "public".

Since TiddlyWiki.prototype.search uses reverseLookup which supports this.... all we need to do is accept an extra argument in TiddlyWiki.prototype.search.

This change is 100% backwards compatible and allows greater flexibility in the use of the function TiddlyWiki.prototype.search by plugins

Attachments

search.patch Download (0.9 KB) - added by SaqImtiaz 6 years ago.

Change History

Changed 6 years ago by SaqImtiaz

Changed 6 years ago by MartinBudden

  • owner set to SaqImtiaz

Changed 6 years ago by MartinBudden

  • owner changed from SaqImtiaz to MartinBudden
  • status changed from new to assigned

Changed 6 years ago by MartinBudden

  • owner changed from MartinBudden to SaqImtiaz
  • status changed from assigned to new

Changed 6 years ago by JeremyRuston

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

Fixed in changeset:2605

Note: See TracTickets for help on using tickets.