Ticket #485 (closed defect: worksforme)
Can't search for tags which contain colons
| Reported by: | Ben | Owned by: | framm |
|---|---|---|---|
| Priority: | major | Component: | Core |
| Version: | latest | Keywords: | : search searching |
| Cc: |
Description
When searching, typing ":" splits key:value. When a tag has : in it it becomes impossible to search for it. e.g. left:country:England
I'm not really sure what the best solution would be... Any character could appear in a tag.
Maybe there needs to be a button to the right of the text entry box, which when clicked inserts a 'split' between key/value. If the 'split' would still need to be a character, then although something like a dot could appear in the search bar, a string of characters that is never likely to be used could represent that dot for searching??
Probably some better solutions. I'm don't know how it works programmin wise, I just know it doesn't work editor wise! Basically anything that allows searching for 'abc:xyz:yes' would be super!
Thanks, Ben
Attachments
Change History
comment:1 Changed 3 years ago by anonymous
- Status changed from new to closed
- Resolution set to fixed
comment:2 Changed 3 years ago by Ben
- Keywords : search searching added
- Status changed from closed to reopened
- Version set to latest
- Resolution fixed deleted
- Summary changed from Can't search for tag's which contain colons to Closed? Not fixed.
This problem still seems to be here. I've just downloaded the latest version..some 1100+. If I search for "left:country" now, it fails to find anything when there is clearly ways tagged with left:country=xyz. If I search for "left" it comes up with far more than I wish to have selected.
Basiically It's looking for left=country, not left:country=xyz.
comment:3 follow-up: ↓ 4 Changed 3 years ago by Ben
Also, it now appears that it's not possible to drop down values which appear under the key within your selection, but rather the drop down shows all values which appear under that key.
e.g I've search for barrier:gate. The selection has found gate, kissing_gate and footgate among other things. I click drop down to have a list of all values under the barrier key, rather than the values within this selection. All values has it's advantage, but it would be handy to see the current selection values again.
comment:4 in reply to: ↑ 3 Changed 3 years ago by anonymous
Correction, the (x) next to the selection makes it clear of what exists. Sorry.



Fixed in r888.