Print Merge document from case search doesn't file on correct contact.
With Record generated letters set to "Multiple activities (one per contact)" when you print/merge documents, they don't file on the correct contact.
Replicated on dmaster - Search for all cases (I created 3 random dummy cases) select all and then Print/merge document. I tested with a token in the letter so I could tell in what order the letters were being generated. The letters are generated in case ID order but they are filed in the order your search screen was last sorted.
For example, the letters are issued in this order:
- Case 1 - Lawrence Ivanov
- Case 2 - Carlos Jacobs
- Case 3 - Sanford Blackwell
But, the default sort if alpha by contact last name:
- Sanford Blackwell (gets Lawrence Ivanov's - case 1 activity)
- Lawrence Ivanov (gets Carlos Jacob's - case 2 activity)
- Carlos Jacobs (gets Sanford Blackwell's - case 3 activity)