Opened 6 years ago

Closed 6 years ago

#2123 closed enhancement (wontfix)

Implement "sibling" synchronization filter

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone:
Component: core Version:
Keywords: Cc:

Description

Item lists with synchronization filters currently supports searching for parents or child items. It would be useful to also be able to search for "sibling" items, meaning that after moving up to a parent item we go down again (in a different branch) to child items. For example, RNAQC items are siblings to Library items and RNA is the common parent item. We could use the "sibling" filter to find library items with a given filter on RNAQC item.

It is possible to do this already if using multiple item lists. For example, one list on the RNA level could find child RNAQC items and then another list on the Library could find parent RNA items that are members of the first list.

Change History (1)

comment:1 by Nicklas Nordborg, 6 years ago

Milestone: BASE 3.13
Resolution: wontfix
Status: newclosed

This turned out to be very difficult to implement due to how filter information is passed around in the "current context". With two queries in a single synchronization filter the "current context" approach would need to be modified. The initial tests had problems with filters being overwritten or executed in the wrong context. This felt a bit risky since it could potentially cause things to break in a lot of other places. So this ticket will have to wait until a better idea for solving this pops up.

Note: See TracTickets for help on using tickets.