Show
Ignore:
Timestamp:
12.03.2013 14:44:30 (7 years ago)
Author:
kjdon
Message:

added in the so (lucene sort order) cgi arg

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/basequeryaction.cpp

    r23379 r27065  
    167167  argsinfo.addarginfo (NULL, arg_ainfo); 
    168168 
     169  // "so" - sort order. 0 = ascending (natural order),  
     170  //                    1 = descending (reverse order) 
     171  arg_ainfo.shortname = "so"; 
     172  arg_ainfo.longname = "sort order"; 
     173  arg_ainfo.multiplechar = false; 
     174  arg_ainfo.multiplevalue = false; 
     175  arg_ainfo.defaultstatus = cgiarginfo::weak; 
     176  arg_ainfo.argdefault = "0"; 
     177  arg_ainfo.savedarginfo = cgiarginfo::must; 
     178  argsinfo.addarginfo (NULL, arg_ainfo); 
    169179 
    170180  // "fqn" - number of fields in the query form