That did stop the side bar from doing the same search.  Thank you.  Looks 
much cleaner now.  Now I have to figure out how to make it search for 
single character inputs.

On Tuesday, 10 December 2019 19:49:06 UTC-4, Eric Shulman wrote:
>
> On Tuesday, December 10, 2019 at 1:49:26 PM UTC-8, PWL wrote:
>>
>> I am finding that the more entries I make the less efficient the side bar 
>> search is, if there is another option I am open to suggestions. 
>>
>> Search <$select tiddler="$:/temp/searchfilter" default="Choose" tag=
>> "input">
>>
>> <option value="Choose">-Choose one-</option>
>> <option value="[has[intelligence]search:intelligence{$:/temp/search}]">
>> Intelligence</option>
>> <option value="[has[climate_terrain]search:climate_terrain{$:/temp/search
>> }]">Climate/Terrain</option>
>> <option value="[has[hd]search:hd{$:/temp/search}]">HD</option>
>> </$select>
>> <$edit-text tiddler="$:/temp/search" tag="input" />
>>
>> <$macrocall $name="list-links" filter={{$:/temp/searchfilter}} />
>> @@.fourcolumns
>> <div class="tc-table-of-contents">
>> <<toc-selective-expandable 'INDEX' sort[title]>>
>> @@ 
>>
>  
> There is one thing you could try that *might* save some computing cycles:
>
> You are basically doing your own search processing via the list-links 
> macro filter.
> However, since you are using "$:/temp/search" to hold your search input 
> text,
> it is also triggering the sidebar search, which means that the same work 
> is being done twice!
>
> To avoid this, just change the search input from "$:/temp/search" to 
> something else, like "$:/temp/mysearch".
> (make sure to also change all your references to it in the $select option 
> entries.)
>
> I can't say for sure that this will make a significant difference, but it 
> might help, even if only a little bit.
>
> let me know how it goes...
>
> -e
>
>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44ae70d3-d043-4132-abc7-eeb92bdbe721%40googlegroups.com.

Reply via email to