Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Changeset 5283

Show
Ignore:
Timestamp:
08/14/08 20:49:10 (5 months ago)
Author:
kevjay
Message:

birtoda: Fixed bug where query would become corrupted if a token was added where the name of this token already existed as a substring of a token in the existing query.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs-contrib/birt_oda_plugin/org.eclipse.datatools.connectivity.oda.openmrs.ui/src/org/eclipse/datatools/connectivity/oda/openmrs/ui/impl/TokenSelectionPage.java

    r5281 r5283  
    611611 
    612612            for (String t : selectedColumns) { 
    613                 if (tokens.contains(t)) { 
     613                if (tokens.contains("{" + t + "}")) { 
    614614                    String modifier = Utils 
    615615                            .getModifierInfoForTokenFromTokenProperty(t, tokens); 
     
    675675 
    676676            for (String t : selectedColumns) { 
    677                 if (tokens.contains(t)) { 
     677                if (tokens.contains("{" + t + "}")) { 
    678678                    String modifier = Utils 
    679679                            .getModifierInfoForTokenFromTokenProperty(t, tokens);