Modify

Opened 14 years ago

Closed 8 years ago

#4994 closed enhancement (duplicate)

Improve search with selected properties

Reported by: progysm@… Owned by: team
Priority: normal Milestone:
Component: Core Version:
Keywords: search, selected, property, properties Cc:

Description (last modified by Don-vip)

I suggest to add, if it's easy, a new syntax to search every object related to a current selection.

Example, we select one way with keyABC=value1. We now want to select every object with keyABC=value1. One possible syntax could be:
keyABC=selected.keyABC

it would be the same that if you search keyABC=value1 but you won't need to copy/paste the value in the search, only select one way and search.

I don't know if supporting multi-values (when you select many object with different values) could be good or to complicated.

So here are the 3 cases:

  • one object selected: search with the value of the key
  • many object selected with same key=>value, search with the common value
  • many object with different value, no search (or create a more complicated expression with (key=value1 OR key=value2 OR key=value3).

Of course expression could be whatever is easier to parse:

  • selected.key1 (java like)
  • selectedkey1? (javascript like)
  • [selected key1]
  • selected#key1
  • selected->key1 (C Struct/PHP like)
  • selected::keys
  • etc...

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by simon04

See #2625 for a similar enhancement. Personally, I consider #2625 a cleaner solution.

comment:2 Changed 8 years ago by Don-vip

Description: modified (diff)
Resolution: duplicate
Status: newclosed

Closed as duplicate of #6935.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.