Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search should search the description and the filename #4

Open
PhilETaylor opened this issue Sep 6, 2022 · 0 comments
Open

search should search the description and the filename #4

PhilETaylor opened this issue Sep 6, 2022 · 0 comments

Comments

@PhilETaylor
Copy link

Love this workflow thanks.

I have had to change my workflow slightly as I pretty much never give my gists a filename, but pretty much always have a description.

Using your screenshot here as an example, if I search for "API" then I would expect the curl.md to be filtered and be the only one showing. Or if I search for password I would expect pdf.md item to be selected.

At the moment only the title is filterable.

Making sense?

What I changed (for now) is to swap around the title and subtitle in the code block below, but that will be wiped out on each upgrade so maybe you have a better, or configurable way to implement this.

 alfreditems['items'].append({
        "mysortkey": mysortkey,
        "uid": title,
        "title": description,
        "subtitle": title,
        "autocomplete": description,
        "arg": url,
        "icon": {
            "path": icon
        }
    })

alfred-gist-submenu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant