We're updating the issue view to help you get more done. 

Search: Add new option to follow object references

Description

Problem:

Have a look at the following situation:

  • object type “location“ is defined with a few fields like city, street, country, name

  • object type “server“ is defined with a reference field to a location object

If a user will search for a location name (which is a field of a location object) in a current version of DATAGERRY, only the location will be found. The server object can not be found.

Solution:

A reference is also a content of a specific object, like the location information for a server. We should enhance the DATAGERRY search, to also follow references. This functionality should be implemented as a search option which can be enabled/disabled by a user. The following of references should be limited to one level.

Discussed Concept:

The search will be executed in 2 steps:

  • step 1:

    • search function like implemented today

  • step 2:

    • find references

    • only if the result of step 1 does not bring more than e.g 20 objects and the option is set

  • all results from step2 and step1 are represented in the same result list

Activity

Show:
Michael Batz
September 11, 2020, 12:22 PM

could you please create a concept for this point to prepare our next Sprint Planing

Mark Heumüller
October 9, 2020, 9:57 AM

Implemented in

Michael Batz
October 9, 2020, 11:16 AM

Did some testing. Perfect implemented, thanks! That’s exactly what I had in mind. Just a few small wishes:

  • the resolve reference function also shows inactive objects in search results (does not check the “active/inactive“ flag

  • if step1 has more than 10 search results, the resolve function is disabled as we discussed that

    • can we disable the “resolve“ checkbox in that cases?

    • can we enable the “resolve“ checkbox automatically, if step1 has not more that 10 search results?

Michael Batz
October 9, 2020, 12:16 PM

perfect, thanks. Can be merged

Michael Batz
November 18, 2020, 10:35 AM

Changed the Jira Workflow from DATAGERRY -> DATAGERRY 2.0

Done

Assignee

Mark Heumüller

Reporter

Michael Batz

Labels

Story Points

8

Tester

Michael Batz

Sprint

None

Fix versions

Priority

Medium
Configure