Changeset 6773


Ignore:
Timestamp:
25/03/10 13:16:12 (9 years ago)
Author:
mnagni
Message:

The doPresent query used a field "original_document_id" without specifying the table from where it comes. Fixed
Artifact promoted to version 1.1.7

Location:
TI01-discovery-API/trunk/MEDINDiscoveryService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery-API/trunk/MEDINDiscoveryService/pom.xml

    r6767 r6773  
    44        <groupId>ndg.services.discovery</groupId> 
    55        <artifactId>MedinDiscoveryService</artifactId> 
    6         <version>1.1.6</version> 
     6        <version>1.1.7</version> 
    77        <packaging>aar</packaging> 
    88 
  • TI01-discovery-API/trunk/MEDINDiscoveryService/src/main/java/ndg/services/discovery/model/CommonMethods.java

    r6767 r6773  
    121121 
    122122                // NB, we use the postgres text search function to do term searches 
    123                 StringBuffer selectSQL = new StringBuffer("SELECT distinct original_document_filename, original_document_id "); 
     123                StringBuffer selectSQL = new StringBuffer(); 
     124                selectSQL.append("SELECT distinct original_document_filename, "); 
     125                selectSQL.append(DiscoveryDictionary.ORIGINAL_DOCUMENT_TABLE); 
     126                selectSQL.append(".original_document_id "); 
    124127 
    125128                StringBuffer fromSQL = new StringBuffer(); 
Note: See TracChangeset for help on using the changeset viewer.