Changeset 22708


Ignore:
Timestamp:
03/09/10 15:59:27 (17 months ago)
Author:
dbutano
Message:

Fixed the following bug: open a template, set to ON a constraint with a bag, select a bag, click Show Result, click Query. The page doesn't display the switchOffAbility setted to ON.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mnw21/pathquery_refactor/intermine/web/main/src/org/intermine/web/struts/TemplateController.java

    r22570 r22708  
    149149                path = originalTemplate.makePath(originalPathConstraint.getPath()); 
    150150                displayConstraint = factory.get(originalPathConstraint, profile, originalTemplate); 
     151                displayConstraint.setSwitchOffAbility(template.getSwitchOffAbility(pathConstraint)); 
    151152                displayConstraint.setBagSelected(true); 
    152153                displayConstraint.setSelectedBagOp(pathConstraint.getOp()); 
Note: See TracChangeset for help on using the changeset viewer.