Cannot open tiddler in search of notebook theme

Not sure the current status of notebook theme and who is maintaining it.

I noticed a potential bug but not sure how to fix it.

Step to reproduce.

  • Open the new test TW (https://notebook-test.tiddlyhost.com/) with TW 5.3.6.
  • Click the search box and type tiddler.
  • Use down arrow to select tiddler 1 and press enter.
  • The tiddler 1 is not open as expected.

I guess it is related with $:/themes/nico/notebook/ui/Search.

Thanks for any suggestions to fix this problem.

1 Like

Hi, I also ran into this issue and couldn’t find an existing solution here, so I tried fixing it myself. Sharing it in case you or anyone else might need it. I replaced input-accept-actions() in $:/themes/nico/notebook/ui/Search:

\define input-accept-actions()
<$list filter="[<searchListState>get[text]split[-]butlast[]join[-]!is[missing]]">
  <$action-navigate $to=<<currentTiddler>>/>
</$list>
<$list filter="[<searchListState>get[text]split[-]butlast[]join[-]is[missing]]">
  <$action-navigate $to={{{ [<searchTiddler>get[text]] }}}/>
</$list>
<$action-deletetiddler $filter="[[$:/temp/search]] [<searchTiddler>] [<searchListState>]"/>
\end

It’s a little clunky but it works when I tested it in both 5.3.6 and 5.3.8!

Thanks for fixing. It is working for me.

1 Like