Changeset 32718 for main/trunk


Ignore:
Timestamp:
2018-12-19T14:18:17+13:00 (5 years 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

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.