Changeset 32718

Show
Ignore:
Timestamp:
19.12.2018 14:18:17 (4 weeks ago)
Author:
kjdon
Message:

in places where we are passing around p.s param, also check for ck param in case we are coming from Cross coll search. need this to get search term highlighting working, see libraryServlet log message

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/js/document_scripts.js

    r32602 r32718  
    6060    url += "&p.s=" + gs.cgiParams.p_s; 
    6161    } 
    62      
     62    if (gs.cgiParams.ck && gs.cgiParams.ck.length > 0) { 
     63    url += "&ck=" + gs.cgiParams.ck; 
     64    } 
     65      
    6366     
    6467     
     
    507510    url += "&p.s=" + gs.cgiParams.p_s; 
    508511    } 
     512   if (gs.cgiParams.ck && gs.cgiParams.ck.length > 0) { 
     513    url += "&ck=" + gs.cgiParams.ck; 
     514    } 
    509515     
    510516    if (gs.xsltParams.use_client_side_xslt == "true") { // note xsltParams are of type string, so test needs to be in quotes