Changeset 31185

Show
Ignore:
Timestamp:
09.12.2016 04:37:47 (3 years ago)
Author:
litvinovg
Message:

Remove both s1.collection s1.group from cache in case either of them in query

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/LibraryServlet.java

    r30477 r31185  
    657657            Element xml_param_list = msg_doc.createElement(GSXML.PARAM_ELEM + GSXML.LIST_MODIFIER); 
    658658            xml_request.appendChild(xml_param_list); 
    659  
     659             
     660            if (queryMap.containsKey("s1.collection") || queryMap.containsKey("s1.group")){ 
     661                table.remove("s1.collection"); 
     662                table.remove("s1.group"); 
     663            } 
    660664            for (String name : queryMap.keySet()) 
    661665            {