[!Ditto? &depth=`0` &dateSource=`releaseDate` &orderBy=`menuindex ASC` &tpl=`tpl.teamItem` &noResults=` ` &tagData=`catTags` &tagDelimiter=`,` &tagDisplayDelimiter=`,` ]]
This question has been answered by kp52. See the first response.
[!Ditto? &depth=`0` &dateSource=`releaseDate` &orderBy=`menuindex ASC` &tpl=`tpl.teamItem` &noResults=` ` &tagData=`catTags` &tagDelimiter=`,` &tagDisplayDelimiter=`,` ]]
I've been using http://wiki.modxcms.com/index.php/Ditto_Parameters to try and filter them into departments using the template variable 'catTags' but haven't had any luck so far.
[!Ditto? &depth=`0` &dateSource=`releaseDate` &orderBy=`menuindex ASC` &tpl=`tpl.teamItem` &noResults=` ` &tagData=`catTags` &tagDelimiter=`,` &tagDisplayDelimiter=`,` &filter=`catTags, '253', 2`]]
<div id="item[+id+]" class="item col cols1 noLeft"> <h2>[[perfectTitle? &docid=`[+id+]` ]] <small>[+description+]</small></h2> <p class="thumb wrap"> <a href="mailto:[+email+]" title="make an enquiry"> <img src="[+thumbImg+]"/> <span>Send Email</span> </a> </p> <div class="itemContent"> <div class="desc truncate"> <p>[+content:trimToSentences+]</p> </div> <div class="toggleLinkWrap"></div> <dl> <p> <dt>Email: </dt> <dd><a href="mailto:[+email+]" title="make an enquiry"><strong>[+email+]</strong></a></dd> </p> <p> <dt>Office:</dt> <dd class="memberLocation">[+memberLocation+]</dd> </p> <p> <dt>Areas of practice:</dt> <dd>[+catTags:makeTagLinks+]</dd> </p> </dl> </div> </div> [[itemBreak? &every=`3` &unique=`[+id+]` ]]
(...)
You can also input the required tags in the URL query string if listing on separate pages.