Changeset 10414


Ignore:
Timestamp:
2005-08-04T12:01:44+12:00 (19 years ago)
Author:
kjdon
Message:

if we have requested contains metadata, then add it to the response. it used to ignore this. this is needed for child(All): in metadata in format statements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/colservr/gdbmsource.cpp

    r9937 r10414  
    209209    if (contains.empty()) info["haschildren"] = 0;
    210210    else info["haschildren"] = 1;
    211     contains.clear();
     211    //contains.clear();
    212212
    213213    info_array.push_back(info);
     
    298298    }
    299299      }
    300       else if (pos_metadata != NULL && *fields_here != "contains") {
     300      //else if (pos_metadata != NULL && *fields_here != "contains") {
     301      else if (pos_metadata != NULL) {
    301302    tmetaptr->values = *pos_metadata;
    302303      }
Note: See TracChangeset for help on using the changeset viewer.