Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2146 closed enhancement (fixed)

Exclude some annotation type categories from selection list when editing annotations

Reported by: Nicklas Nordborg Owned by: everyone
Priority: major Milestone: BASE 3.14.1
Component: web Version:
Keywords: Cc:

Description

When editing annotations there is a list with "Categories" that is matched against the subtype of the item. The reason is that the default view should contain the relevant annotations for the given subtype.

The "Categories" list is populated with all categories found among the defined annotation types. If there is an annotation type defined on the system that is a generic annotation that can be used on lots of items (for example, a "Flag" annotation) the categories list is bloated with irrelevant categories (=all subtypes where the "Flag" annotation can be used).

The "Categories" list should be filtered so that categories with a name that is matching a defined subtype that is matching a different item type are excluded. Example: The "RNA" subtype is for extracts and should be hidden when editing annotations for a raw bioassay even if the "Flag" annotation is included in that category.

Change History (2)

comment:1 by Nicklas Nordborg, 6 years ago

Resolution: fixed
Status: newclosed

(In [7579]) Fixes #2146: Exclude some annotation type categories from selection list when editing annotations

comment:2 by Nicklas Nordborg, 6 years ago

(In [7580]) References #2146: Exclude some annotation type categories from selection list when editing annotations

Subtypes that are not related to annotatable items should be ignored.

Note: See TracTickets for help on using tickets.