Changeset 6715


Ignore:
Timestamp:
Feb 4, 2015, 12:42:44 PM (9 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1918: Can't export the derived bioassays column in physical bioassays list

Add '%' to the registration of data loader and formatter so that the names matches the filter expression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4-stable/www/views/physicalbioassays/index.jsp

    r6314 r6715  
    8888    // Register formatters
    8989    cc.setObject("export.formatter.&creationEvent.sources(bioMaterial.name)", new BioMaterialEventSourceFormatter());
    90     cc.setObject("export.formatter.&rootDerivedBioAssays(name)", new NameableFormatter());
     90    cc.setObject("export.formatter.&rootDerivedBioAssays(%name)", new NameableFormatter());
    9191   
    9292    // Register dataloaders
     
    100100    dbasQuery.restrict(Restrictions.eq(Hql.property("root"), Expressions.bool(true)));
    101101    dbasQuery.order(Orders.asc(Hql.property("name")));
    102     cc.setObject("export.dataloader.&rootDerivedBioAssays(name)", new ItemQueryLoader(dbasQuery, bioassayParameter));
     102    cc.setObject("export.dataloader.&rootDerivedBioAssays(%name)", new ItemQueryLoader(dbasQuery, bioassayParameter));
    103103  }
    104104%>
Note: See TracChangeset for help on using the changeset viewer.