Changeset 21878 for main/trunk/greenstone2/runtime-src
- Timestamp:
- 2010-04-14T11:20:25+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/java/org/nzdl/gsdl/Phind/Phind.java
r8928 r21878 301 301 302 302 setSearchTerm(searchWord); 303 // we need to keep the original version of the search word to 304 // display for the title of the result box for the case where 305 // there are no results. Otherwise you end up with URL encoded 306 // version being displayed. 307 String originalSearchWord = searchWord; 303 308 304 309 // Convert the String from UTF8 charaters into … … 310 315 setStatus("searching for \"" + searchWord + "\""); 311 316 firstDisplay.emptyContents(); 312 ResultBox result = lookupPhraseOnServer(null, false, searchWord, searchWord, 2);317 ResultBox result = lookupPhraseOnServer(null, false, searchWord, originalSearchWord, 2); 313 318 314 319 // if there is an error, return
Note:
See TracChangeset
for help on using the changeset viewer.