deanishe / awgo

Go library for Alfred 3 + 4 workflows

Home Page:https://godoc.org/github.com/deanishe/awgo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Disable wf.Filter sorting

danielecook opened this issue · comments

Is there a way to disable sorting but still filter results when using wf.Filter?

Thanks!

Not using wf.Filter, no. You would have to use fuzzy.Match (or create a fuzzy.Sorter w/o data and use its Match method) to score each item and remove the non-matching ones yourself.

Thanks I’ll dig a bit and see if I can figure it out