We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14896
    • 4 Posts
    Hi all,

    I am using ditto to create a list of all people who belong to a certain group (template variable). The problem is some people belong to multiple groups. Right now I am entering all the groups a person belongs to in a single field and then use &filter with mode 7 to exclude all the documents that do not belong to the group I am interested in. Ditto finds all the right documents, but when I do a &sortBy according to last name (another TV) it groups the resulting documents into those that have three group entries, those that have two group entries, those that have one group entry, and then sorts according to last name within each of them. How can I make it so the whole list is sorted by the last name TV without ditto grouping things in the way it is?

    Would appreciate any help.

    Joel
      • 18397
      • 3,250 Posts
      What version of Ditto are you using? Also, can you please provide the debug output of the call. (See the [Policy] post in this forum for instructions)