Hi History Buff, If I understand your question well, it is only related to showfnotes. You like showfnotes renumber the output based on the filtered list of tiddlers (footnotes??)
Would you please provide a minimum example wiki? --Mohammad On Tuesday, April 6, 2021 at 1:56:46 AM UTC+4:30 History Buff wrote: > So I have a situation where I thought the above would solve my problem, > but I haven't been able to get there yet. > > I have a Shiraz Dynamic Table where one of the columns contains footnotes > using Mohammad's Refnotes plugin. I also have it set up so that I can > filter the content of the dynamic table with a search parameter. So far so > good. The footnotes are numbered 1 through "x" and when I enter a search > parameter, the results of the results are filtered and the footnotes get > renumbered 1 through "y" as expected. > > I also have the showfnotes macro below the dynamic table to list the > footnotes. This works fine until I enter a search term and filter the > table. Once filtered, the footnotes that are shown retain the pre-filter > numbering unless I leave the tiddler and come back to it which then > renumbers the footnotes being shown starting at 1 and now matches the > filtered content. I can get similar behavior when I wrap the showfnotes > macro in a details widget. If I close and then reopen the details widget, > the footnotes shown get renumbered to match the filtered content. I would > like to have the footnotes being listed by the showfnotes macro to > automatically get renumbered when I filter the content of the above dynamic > table. Wrapping the showfnotes macro in the set widget as mentioned above > and setting the trigger to the current time using my search button doesn't > do the trick. Any suggestions? Thanks in advance. > > > On Thursday, September 3, 2015 at 3:29:57 PM UTC-7 [email protected] > wrote: > >> Brilliant! Always learning something new. Never heard about the $:/temp >> thing before. >> Thanks, >> Matt >> >> >> On Thursday, September 3, 2015 at 5:19:34 PM UTC-4, Eric Shulman wrote: >>> >>> On Thursday, September 3, 2015 at 12:52:02 PM UTC-7, Matthew Lauber >>> wrote: >>>> >>>> Hey All, I've got a unusual request. I've created a list filter >>>> 'shuffle' that randomizes the order of a list. Each time it's rendered >>>> the >>>> list changes. Combining this with a 'first' I can get a random subset of >>>> the list (think choosing 10 random character names). But unfortunately, I >>>> haven't been able to come up with a fully satisfactory way to refresh the >>>> list. Ideally, I'd like to be able to click a button and repaint the >>>> tiddler, without it being treated as if the data changed (because it >>>> hasn't) I've gotten a button working with the following code, but every >>>> time it's clicked, the tiddlywiki thinks it needs to be saved. Can anyone >>>> think of a better way to handle things? >>>> >>>> <$button> >>>> <$action-sendmessage $message="tm-edit-tiddler" /> >>>> <$action-sendmessage $message="tm-cancel-tiddler" $param="Draft of >>>> 'Names'" /> >>>> Refresh >>>> </$button> >>>> >>> >>> One way to force a refresh of some content is to make it dependent on a >>> tiddler value by wrapping it inside a <$set>...</$set>, like this: >>> <$set name="trigger" value={{$:/temp/trigger}}> >>> *** your content here *** >>> </$set> >>> >>> Then, write a button that changes the $:/temp/trigger value, like this: >>> <$button> >>> <$action-setfield $tiddler="$:/temp/trigger" $value=<<now "0hh:0mm:0ss"> >>> >/> >>> refresh trigger >>> </$button> >>> >>> By setting the trigger text to the current time, the value of the >>> trigger changes each time you press the button. This, in turn, triggers >>> the refresh of the dependent content. Note that, by using $:/temp/... to >>> store the trigger, it will avoid marking the document as "dirty" (in need >>> of saving). >>> >>> enjoy, >>> -e >>> Eric Shulman >>> ELS Design Studios >>> TiddlyTools - "Small Tools for Big Ideas!" >>> InsideTiddlyWiki: The Missing Manuals >>> >>> YOUR DONATIONS ARE VERY IMPORTANT! >>> HELP ME TO HELP YOU - MAKE A CONTRIBUTION TO MY "TIP JAR"... >>> http://TiddlyTools.github.com/fundraising.html#MakeADonation >>> >>> Professional TiddlyWiki Consulting Services... >>> Analysis, Design, and Custom Solutions: >>> http://www.TiddlyTools.com/#Contact >>> >> -- 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/8e84ab3d-f0d7-4989-9e4e-60d8233de107n%40googlegroups.com.

