Changeset 36641 for main


Ignore:
Timestamp:
2022-09-20T11:30:32+12:00 (19 months ago)
Author:
kjdon
Message:

updated CollectionGroups service name

File:
1 edited

Legend:

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

    r33001 r36641  
    223223    // if we haven't done so already, check for group info type service
    224224    if (this.groupInfoServiceName ==  null) {
    225 
    226       Element groupInfoService = GSXML.getNamedElement(resp_service_list, GSXML.SERVICE_ELEM, GSXML.NAME_ATT,
    227                                CollectionGroups.GROUP_CONTENT);
     225      Element groupInfoService = GSXML.getNamedElement(resp_service_list, GSXML.SERVICE_ELEM, GSXML.NAME_ATT, CollectionGroups.GROUP_CONTENT_SERVICE);
    228226         
    229227      if (groupInfoService != null) {
    230     this.groupInfoServiceName = CollectionGroups.GROUP_CONTENT;
     228    this.groupInfoServiceName = CollectionGroups.GROUP_CONTENT_SERVICE;
    231229      } else {
    232230    this.groupInfoServiceName = "NO_GROUPS";
    233231      }
    234232    }
    235        
     233 
    236234    if (!this.groupInfoServiceName.equals("NO_GROUPS")) {
    237235      String group = null;
     
    268266         
    269267    } else {
    270          
     268
     269      //TODO: if no groups, then add the param into main request and get it with the other stuff.
     270      // don't need to do a separate request.
    271271      // If no service with type SERVICE_TYPE_GROUPINFO could be provided
    272272      // request message router for all available collections
Note: See TracChangeset for help on using the changeset viewer.