Project

General

Profile

« Previous | Next » 

Revision 1839

Added by Jing Tao about 21 years ago

Remove UPPER function for >, < operator.

View differences:

src/edu/ucsb/nceas/metacat/QueryTerm.java
159 159
        String oper = null;
160 160
        if (searchmode.equals("greater-than")) {
161 161
          oper = ">";
162
          nodedataterm = "nodedata";
162 163
        } else if (searchmode.equals("greater-than-equals")) {
163 164
          oper = ">=";
165
          nodedataterm = "nodedata";
164 166
        } else if (searchmode.equals("less-than")) {
165 167
          oper = "<";
168
          nodedataterm = "nodedata";
166 169
        } else if (searchmode.equals("less-than-equals")) {
167 170
          oper = "<=";
171
          nodedataterm = "nodedata";
168 172
        } else {
169 173
          System.out.println("NOT expected case. NOT recognized operator: " +
170 174
                             searchmode);

Also available in: Unified diff