[tw5] Re: butlast filter operator

2021-06-28 Thread History Buff
Thanks! On Monday, June 28, 2021 at 10:45:52 AM UTC-7 saq.i...@gmail.com wrote: > This is essentially an oversight and will be fixed. Thank you for bringing > this up. > > https://github.com/Jermolene/TiddlyWiki5/issues/5833 > > On Sunday, June 27, 2021 at 8:28:50 PM UTC+2 History Buff wrote: >

[tw5] Re: butlast filter operator

2021-06-28 Thread Saq Imtiaz
This is essentially an oversight and will be fixed. Thank you for bringing this up. https://github.com/Jermolene/TiddlyWiki5/issues/5833 On Sunday, June 27, 2021 at 8:28:50 PM UTC+2 History Buff wrote: > All, > > I have a general question about the butlast filter operator. I had a > filter whe

Re: [tw5] Re: butlast filter operator

2021-06-28 Thread Damon Pritchett
Hey Tony, Yeah that’s what I eventually realized so I changed what happens when I reach zero. I was just wanting to understand the inner workings better. On Mon, Jun 28, 2021 at 7:34 AM TW Tones wrote: > Another way to look at it ; > Butlast purpose discard the last N input title(s) > > So sayi

Re: [tw5] Re: butlast filter operator

2021-06-28 Thread TW Tones
Another way to look at it ; Butlast purpose discard the last N input title(s) So saying "discard the last 0 input titles" is non sensical If you actually want to discard 3, then 2 then 1 perhaps you filter needs find another way once it reaches 0 Tones On Monday, 28 June 2021 at 13:07:37 UTC

Re: [tw5] Re: butlast filter operator

2021-06-27 Thread Damon Pritchett
Thanks Eric, I appreciate that. I looked at it, but I really don’t know JavaScript. Makes me want to learn though. On Sun, Jun 27, 2021 at 12:07 PM Eric Shulman wrote: > On Sunday, June 27, 2021 at 11:28:50 AM UTC-7 History Buff wrote: > >> I don't understand why a 0 in the butlast operator w

[tw5] Re: butlast filter operator

2021-06-27 Thread Eric Shulman
On Sunday, June 27, 2021 at 11:28:50 AM UTC-7 History Buff wrote: > I don't understand why a 0 in the butlast operator would yield no results > The butlast[] operator is defined in this shadow tiddler: https://tiddlywiki.com/#%24%3A%2Fcore%2Fmodules%2Ffilters%2Flistops.js Here's the javascript c