Hi Gabriel,

I haven't dug into the source code, but I had the same issue, if I had a
field with "11'" (note the single quote) - as in "11 feet" then it wouldn't
work. I ended up modifying all my tiddlers to have purely numeric data in
the fields rather than some alphanumeric. I suspect that a simple
modification to the JavaScript could solve that problem but I haven't
looked into it.

Cheers,
Berne

On Fri, Nov 24, 2017 at 12:46 AM, Gabriel Perlmutter <[email protected]>
wrote:

> I like this plugin, but it doesn't seem to work with any fields or
> variables as the comparison number or alphanumeric.  Am I missing something
> or do you have to hard code the search number every time?
>
> On Monday, October 9, 2017 at 9:44:51 AM UTC-4, Jed Carty wrote:
> > In the core there are very few filters the work on numeric input like
> that. The allbefore operator finds an item in the list and returns the list
> up until that point, so if you have a list of 'one bob joe three 99 eddie',
> allbefore[joe] would give 'one bob'
> >
> >
> > So in your example it would only return something if the a tiddler has
> an exact match for 9 in its length field, then it would return any tiddlers
> in the list before that item. If there are no tiddlers with 9 than it
> returns am empty list.
> >
> >
> > I made some numeric comparison filters, you can see information about
> them here (http://inmysocks.tiddlyspot.com/#Extra%20Filter%20Operators),
> they may be useful for you. I haven't had any trouble using them but to my
> knowledge I am the only one who has tested them.
>
> --
> 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/GQl_L-DsEzQ/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tiddlywiki.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/tiddlywiki/31835762-3cc1-46eb-b24c-556a79bd7822%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/CAHjMUdnpx%3DNoBnaRfzoY9F79%2BQRSmZFES%2BdpeVesWq0tUsgHiA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to