Modify

Opened 6 years ago

Closed 4 years ago

#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 (0)

Change History (6)

comment:1 Changed 5 years ago by anonymous

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r888.

comment:2 Changed 4 years ago by Ben

  • Keywords : search searching added
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from Can't search for tag's which contain colons to Closed? Not fixed.
  • Version set to 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 follow-up: Changed 4 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 4 years ago by anonymous

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

comment:5 Changed 4 years ago by anonymous

  • Summary changed from Closed? Not fixed. to Can't search for tags which contain colons

comment:6 Changed 4 years ago by stoecker

  • Resolution set to worksforme
  • Status changed from reopened to closed

You need to search using "" when havin colons.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.