Changeset 7631


Ignore:
Timestamp:
19/10/10 10:47:16 (9 years ago)
Author:
mnagni
Message:

small logic bug in the resourceLocator assemble query

File:
1 edited

Legend:

Unmodified
Added
Removed
  • RevitalizationWS/ws/DiscoveryService/trunk/src/main/java/ndg/services/discovery/model/SearchAgent.java

    r7615 r7631  
    172172                checkWHERE_AND(whereSQL, false); 
    173173                resourceLocator = (resourceLocator == null || (!resourceLocator.equalsIgnoreCase("true") && !resourceLocator.equalsIgnoreCase("false"))) ? 
    174                         "resource_locator = 'TRUE' or resource_locator = 'FALSE'" : 
     174                        "(resource_locator = 'TRUE' or resource_locator = 'FALSE')" : 
    175175                        "resource_locator = '" + resourceLocator + "'";                  
    176176                whereSQL.append(resourceLocator);                
Note: See TracChangeset for help on using the changeset viewer.