# HG changeset patch # User Sebastien Jodogne # Date 1432116213 -7200 # Node ID d3dc9727c51e3650bca3c53c8c6f98b0d0e730de # Parent f02d68327265e783c782141f27d7fb20c2e1afee includefield diff -r f02d68327265 -r d3dc9727c51e Plugin/QidoRs.cpp --- a/Plugin/QidoRs.cpp Wed May 20 10:58:40 2015 +0200 +++ b/Plugin/QidoRs.cpp Wed May 20 12:03:33 2015 +0200 @@ -355,7 +355,13 @@ } else { - includeFields_.push_back(ParseTag(key)); + // Split a comma-separated list of tags + std::vector tags; + OrthancPlugins::TokenizeString(tags, value, ','); + for (size_t i = 0; i < tags.size(); i++) + { + includeFields_.push_back(ParseTag(tags[i])); + } } } else