Changeset 13526


Ignore:
Timestamp:
2006-12-20T11:24:00+13:00 (15 years ago)
Author:
mdewsnip
Message:

The "srn" and "srp" CGI arguments must be multicharacter otherwise they stop working after search result 9!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/queryaction.cpp

    r13463 r13526  
    465465  argsinfo.addarginfo (NULL, arg_ainfo);
    466466
    467  
    468  // "srn" - the next search result 
     467  // "srn" - the next search result
    469468  arg_ainfo.shortname = "srn";
    470   arg_ainfo.longname = "the next search result";
    471   arg_ainfo.multiplechar = false;
     469  arg_ainfo.longname = "the next search result number";
     470  arg_ainfo.multiplechar = true;
    472471  arg_ainfo.defaultstatus = cgiarginfo::weak;
    473472  arg_ainfo.argdefault = "0";
     
    475474  argsinfo.addarginfo (NULL, arg_ainfo);
    476475
    477     // "srp" - the previous search result 
     476  // "srp" - the previous search result
    478477  arg_ainfo.shortname = "srp";
    479   arg_ainfo.longname = "the previous search result";
     478  arg_ainfo.longname = "the previous search result number";
    480479  arg_ainfo.multiplechar = false;
    481480  arg_ainfo.defaultstatus = cgiarginfo::weak;
Note: See TracChangeset for help on using the changeset viewer.