Fixed that issues grouped by custom field is broken in PDF export (#12513).
Authored by: jplang 2012-12-08
Parent: [r10955]
Child: [r10957]