Opened 16 years ago

Last modified 10 years ago

#4994 closed enhancement

Improve search with selected properties — at Initial Version

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

Description

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...

Change History (0)

Note: See TracTickets for help on using tickets.