Changeset 4848 for branches/2.11-stable


Ignore:
Timestamp:
Mar 26, 2009, 9:12:16 AM (14 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1275: Item overview doesn't load array slide associated with hybridization if root of tree is a biomaterial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.11-stable/src/core/net/sf/basedb/util/overview/loader/HybridizationLoader.java

    r4740 r4848  
    160160    getNodeLoader(context, Item.SCAN).createForwardNode(dc, context, hybNode);
    161161    Node parent = hybNode.getParent();
     162    if (parent != null && parent.getNodeType() == Node.Type.FOLDER)
     163    {
     164      parent = parent.getParent();
     165    }
    162166    Item parentItemType = parent == null ? null : parent.getItemType();
    163167    if (parentItemType == Item.LABELEDEXTRACT)
Note: See TracChangeset for help on using the changeset viewer.