Changeset 13528


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

"I'm feeling lucky" URLs now include the cl argument.

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/document.dm

    r13527 r13528  
    4646)
    4747
     48_If_("_cgiargcl_" eq "search",
    4849<div class="searchresults">
    49 _If_("_cgiargcl_" eq "",_prevsearchresult_)_If_("_cgiargcl_" eq "search",_prevsearchresult_)
    50 _If_("_cgiargcl_" eq "",_nextsearchresult_)_If_("_cgiargcl_" eq "search",_nextsearchresult_)
    51 </div>
     50_prevsearchresult_
     51_nextsearchresult_
     52</div>)
    5253
    5354<div class="document">
  • trunk/gsdl/src/recpt/queryaction.cpp

    r13526 r13528  
    15441544    }   
    15451545       
    1546     textout << outconvert << disp << "Location: _gwcgi_?e=_compressedoptions_&a=d&c=" << collection << "&d=" << (*thissection).OID <<"&srn="<<srn<<"&srp="<<srp<< "\n\n";
     1546    textout << outconvert << disp << "Location: _gwcgi_?e=_compressedoptions_&a=d&c=" << collection << "&cl=search&d=" << (*thissection).OID <<"&srn="<<srn<<"&srp="<<srp<< "\n\n";
    15471547    textout << flush;
     1548   
    15481549        return true;
    15491550      }
Note: See TracChangeset for help on using the changeset viewer.