Project

General

Profile

« Previous | Next » 

Revision 2635

Added by sgarg about 19 years ago

fix for the bug entered in previous fix

View differences:

src/edu/ucsb/nceas/metacat/QueryGroup.java
97 97
      while (en.hasMoreElements()) {
98 98
        Object qobject = en.nextElement();
99 99
        if (qobject instanceof QueryGroup) {
100
            QueryGroup qg = (QueryGroup)qobject;
100 101
        	String queryGroupSQL = qg.printSQL(useXMLIndex);
102
        	
101 103
        	if (first) {
102 104
        		first = false;
103 105
        	} else {
......
106 108
             }
107 109
       		queryString.append(queryGroupSQL);
108 110
          }
109
          QueryGroup qg = (QueryGroup)qobject;
110
          queryString.append(qg.printSQL(useXMLIndex));
111 111
          // count percerntage number
112 112
          int count = qg.getPercentageSymbolCount();
113 113
          countPercentageSearchItem = countPercentageSearchItem + count;

Also available in: Unified diff