Modify

Opened 17 years ago

Closed 16 years ago

#485 closed defect (worksforme)

Can't search for tags which contain colons

Reported by: Ben Owned by: framm
Priority: major Milestone:
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 (0)

Change History (6)

comment:1 by anonymous, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in r888.

comment:2 by Ben, 16 years ago

Keywords: : search searching added
Resolution: fixed
Status: closedreopened
Summary: Can't search for tag's which contain colonsClosed? Not fixed.
Version: latest

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 by Ben, 16 years ago

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.

in reply to:  3 comment:4 by anonymous, 16 years ago

Correction, the (x) next to the selection makes it clear of what exists. Sorry.

comment:5 by anonymous, 16 years ago

Summary: Closed? Not fixed.Can't search for tags which contain colons

comment:6 by stoecker, 16 years ago

Resolution: worksforme
Status: reopenedclosed

You need to search using "" when havin colons.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain framm.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.