Ignore:
Timestamp:
2008-02-22T11:25:40+13:00 (16 years ago)
Author:
davidb
Message:

Collections can now be put in to "groups" i.e. can be located inside another collection, which is marked as "collectgroup" true. The top-level collection appears on the home page, and when clicked upon display a new "home page" with only the collections appearing within its folder displayed. To implement this, the main change is in collectset.cpp, which now runs "add_all_collection_groups" after it has added all the top-level collections. comtypes.h has been updated to include the new field, "isCollectGroup". Finally, pageaction.cpp has been updated so these changes are reflected in the home page generated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/collectserver.h

    r9929 r15002  
    101101  const colservrconf &get_configinfo () {return configinfo;}
    102102  text_t get_collection_name () {return configinfo.collection;}
     103  bool is_collection_group () {return collectinfo.isCollectGroup;}
     104
    103105
    104106  // ping indicates whether the collection has appropriate data structures
Note: See TracChangeset for help on using the changeset viewer.