Revision 1838
Added by Jing Tao about 21 years ago
src/edu/ucsb/nceas/metacat/QueryTerm.java | ||
---|---|---|
145 | 145 |
// find percentage symbol |
146 | 146 |
percentageSymbol = true; |
147 | 147 |
} |
148 |
} else if (searchmode.equals("not-contains")) { |
|
149 |
//searchvalue = "%" + casevalue; |
|
150 |
searchexpr = nodedataterm + " NOT LIKE '%" + casevalue + "%' "; |
|
148 | 151 |
} else if (searchmode.equals("equals")) { |
149 | 152 |
//searchvalue = casevalue; |
150 | 153 |
searchexpr = nodedataterm + " = '" + casevalue + "' "; |
Also available in: Unified diff
Add a new search mode not-contains.