Ignore:
Timestamp:
2013-06-04T15:56:26+12:00 (11 years ago)
Author:
kjdon
Message:

more changes for super collection stuff. Now can handle having collections in a super colleciton that are not in the main collection list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/oaiservr/abstractlistaction.cpp

    r27528 r27534  
    8484  }
    8585
    86   // Case for no "set" argument present -- output all records in all collections
    87   // or we are a super collection
     86  // Case for no "set" argument present - output all records in all collections & super colls
     87  // Case for super collection set - output all records in all collections in this super coll
    8888  else
    8989  {
     
    9494      collections = this->configuration->getSuperCollectionCollections(set_name);
    9595    } else {
    96       collections = this->configuration->getCollectionsList();
     96     
     97      collections = this->configuration->getAllCollectionsList();//this->configuration->getCollectionsList();
     98   
    9799    }
    98100    if (collections.size() == 0)
     
    121123    {
    122124      // If output_content_for_set() returns false a resumption token has been output, so it's time to stop
    123       if (output_content_for_set(output, protocol, params, *collection_iterator, "", "") == false)
     125      if (output_content_for_set(output, protocol, params, *collection_iterator, "", set_name) == false)
    124126      {
    125127    return true;
Note: See TracChangeset for help on using the changeset viewer.