Project

General

Profile

« Previous | Next » 

Revision 2677

Added by sgarg over 18 years ago

Fixed a bug in QueryGroup which prevented QueryGroup from appending itself to the sql query when no queryTerm is present.

View differences:

QuerySpecification.java
703 703
        // Get the query from the QueryGroup and check
704 704
        // if no query has been returned
705 705
        String queryFromQueryGroup = query.printSQL(useXMLIndex);
706
        logMetacat.info("Query from query in QuerySpec.printSQL: " 
707
        		+ queryFromQueryGroup);
708
        
706 709
        if(!queryFromQueryGroup.trim().equals("")){
707 710
            self.append(" docid IN (");
708 711
            self.append(queryFromQueryGroup);

Also available in: Unified diff