Ignore:
Timestamp:
2016-12-09T04:37:47+13:00 (7 years ago)
Author:
Georgiy Litvinov
Message:

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

File:
1 edited

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