drgrib / alfred-bear

Streamlined note searching and creation for Bear using Alfred
MIT License
422 stars 24 forks source link

Special Search keywords produce no results #74

Open evanfuchs opened 2 weeks ago

evanfuchs commented 2 weeks ago

When I try any Special Search using "@" or "-@" I get no results, just a default to search in Bear app.

This happens with every special search keyword, but here's the debug log showing a search for "bs @untagged", then hitting Return, then typing "state" which is in the title of a known note that is untagged.

[10:31:54.539] Bear[Script Filter] Queuing argument '@untagged'
[10:31:54.652] Bear[Script Filter] Script with argv '@untagged' finished
[10:31:54.657] Bear[Script Filter] {
    "items": [
        {
            "uid": "@untagged",
            "title": "@untagged",
            "autocomplete": "@untagged ",
            "valid": false
        }
    ]
}
[10:31:59.388] Bear[Script Filter] Queuing argument '@untagged '
[10:32:00.917] Bear[Script Filter] Script with argv '@untagged ' finished
[10:32:00.922] Bear[Script Filter] {
    "items": [
        {
            "title": "Search \"@untagged\" in Bear App",
            "arg": "term=@untagged",
            "valid": true
        }
    ]
}
[10:32:03.296] Bear[Script Filter] Queuing argument '@untagged s'
[10:32:03.410] Bear[Script Filter] Queuing argument '@untagged st'
[10:32:03.627] Bear[Script Filter] Queuing argument '@untagged sta'
[10:32:03.632] Bear[Script Filter] Queuing argument '@untagged stat'
[10:32:03.714] Bear[Script Filter] Queuing argument '@untagged state'
[10:32:04.996] Bear[Script Filter] Script with argv '@untagged s' finished
[10:32:05.002] Bear[Script Filter] {
    "items": [
        {
            "title": "Search \"@untagged s\" in Bear App",
            "arg": "term=@untagged%20s",
            "valid": true
        }
    ]
}
[10:32:07.257] Bear[Script Filter] Script with argv '@untagged state' finished
[10:32:07.263] Bear[Script Filter] {
    "items": [
        {
            "title": "Search \"@untagged state\" in Bear App",
            "arg": "term=@untagged%20state",
            "valid": true
        }
    ]
}
drgrib commented 2 weeks ago

Yeah, this isn't implemented yet due to lack of need on my end and lack of interest externally. Since you are showing interest now, it is on my radar.