G'day,
Give this a spin:
<$edit-text tiddler={{{ [<currentTiddler>addsuffix[ Data]] }}}
field="search_value"/>
<$list variable="checkLength" filter="[<currentTiddler>addsuffix[
Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5
characters)//<br>
<$vars searchCriteria={{{ [<currentTiddler>addsuffix[
Data]get[search_value]] }}}>
<$list filter="
*[search:title,caption:literal,casesensitive<searchCriteria>]*">
<$link/><br>
</$list>
</$vars>
</$list>
On Thursday, July 8, 2021 at 10:49:42 PM UTC-3 [email protected] wrote:
> sorry to back to this again , but which part of the code does the search ?
> so if i would use [search:title,caption:literal,casesensitive[The first]]
> like the example in the documentation , where would i put that in the code ?
>
> On Friday, July 2, 2021 at 4:11:40 PM UTC+2 [email protected] wrote:
>
>> For sure. That's all documented here:
>> https://tiddlywiki.com/#search%20Operator
>>
>> I much prefer the "wide open" (search all fields), so that if I can catch
>> the tiddler I want by a selection of words I remember being wherever they
>> happen to exist in the tiddler, so maybe a word from the title, a word from
>> some custom field, a word from the text.
>>
>> You could make the "field list" for search operator come from another
>> edit text widget, so you have the flexibility of dynamically specifying
>> which field(s) you want to search.
>>
>>
>>
>> On Friday, July 2, 2021 at 5:23:13 AM UTC-3 [email protected]
>> wrote:
>>
>>> Thanks,
>>>
>>> However is there a way to make the search more accurate , typing in
>>> "Hello there" listed so many tiddlers , i believe because it is
>>> seraching all tidder field ? if its the case could it be restrained to only
>>> searching one field, the title ?[image: Capture10.PNG]
>>>
>>> On Friday, July 2, 2021 at 6:04:36 AM UTC+2 [email protected] wrote:
>>>
>>>> Hi,
>>>>
>>>> Using TiddlyWiki.com for testing, create a new tiddler with the
>>>> following content:
>>>>
>>>> <$edit-text tiddler={{{ [<currentTiddler>addsuffix[ Data]] }}}
>>>> field="search_value"/>
>>>>
>>>> <$list variable="checkLength" filter="[<currentTiddler>addsuffix[
>>>> Data]get[search_value]length[]compare:number:gt[4]]"> //(enter at least 5
>>>> characters)//<br>
>>>> <$vars searchCriteria={{{ [<currentTiddler>addsuffix[
>>>> Data]get[search_value]] }}}>
>>>> <$list filter="[all[tiddlers]search<searchCriteria>]">
>>>> <$link/><br>
>>>> </$list>
>>>> </$vars>
>>>> </$list>
>>>>
>>>>
>>>>
>>>> On Thursday, July 1, 2021 at 10:47:46 PM UTC-3 [email protected]
>>>> wrote:
>>>>
>>>>>
>>>>> Hi ,
>>>>>
>>>>> I have a tiddler that has a filter that lists other tiddlers along
>>>>> with their details
>>>>>
>>>>> the problem is the list is too long and big that it makes it hard to
>>>>> find the one particular tiddler i want to look at .
>>>>>
>>>>> is there a way to add like a search box? where i can just enter the
>>>>> tiddler name and this would hide everything and display the one tiddler i
>>>>> entered its name
>>>>>
>>>>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/decbbe1d-6160-4a2a-91f9-4124c02bdf98n%40googlegroups.com.