jethro-pmm
jethro-pmm copied to clipboard
Document merge group by function
Similar to the grouping by member status I have in document merge for attendance. In a report the group by field, if present, would be presented instead of person (or family - if that makes sense). In other classes of document merge there would be the option to specify a field to group by. This would allow different 'classes' of people to be reported in the same document as groups.
One quick thought here: The current sytax is something like [Core.first_name] I think it would be clearer to use something like [person.first_name{status=Core}] This makes it more obvious that it's a filter. I haven't looked to see how hard this would be to implement.
It's more a grouping than a filter. Your suggestion would mean hacking into the underlying TBS code too much, however something like [person_Core.first_name] or [Core_person.first_name] would be perfectly ok. If [person/Core.first_name] is accepted by TBS that might be better.