Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-09-27 05:18:03 +03:00
parent a516adc396
commit b800342d72

View File

@ -1139,7 +1139,8 @@ module.Collection = core.ImageGridFeatures.Feature({
Object.keys(raw)
.forEach(function(key){ metadata[key] = raw[key] })
// XXX use .prepareIndexForWrite(.., mode) for this...
// XXX use .prepareIndexForWrite(.., full) for this...
// XXX pass the date...
// collections/<gid>/data
if(metadata.data){
res.index[path +'/data'] = metadata.data