Hi, no i think it was pretty understandable, its really my poor coding knowledge that makes me take a bit longer to get it :_)
On Sunday, July 11, 2021 at 5:19:54 PM UTC+2 [email protected] wrote: > Good stuff. > > If there are any naughty bits in there that are clear as mud and need some > explaining, please reach out here. > > That bit of TW code can probably be improved/condensed. I do tend to have > "wordy" solutions because I like to see the little steps involved in > getting from A to Z, often ignoring much more elegant solutions (if I know > of them). There's always loads of refactoring potential in anything coming > from this kid. > > On Sat, Jul 10, 2021 at 11:15 PM paulgilbert2000 <[email protected]> > wrote: > >> >> works like a charm thank you very much :) >> On Friday, July 9, 2021 at 4:25:55 AM UTC+2 [email protected] wrote: >> >>> 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 a topic in the >> Google Groups "TiddlyWiki" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/tiddlywiki/DbxeR4MQeIw/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/tiddlywiki/be87cba3-979c-4994-bb74-0ec787493d26n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/tiddlywiki/be87cba3-979c-4994-bb74-0ec787493d26n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/1dce3888-7e52-4a93-9e4f-c75f7aed0b7dn%40googlegroups.com.

