Create a schema extension on person which is an additional Foreign Key pointing to department.
The column is referenced in the We Portal via default-configparm at the person-select-grids.
When the filtering button is selected for this column, the popup displays the UIDs of the referenced departments but not the display name.
A fix is available from Support for Defect 21080. Please contact Support stating your product version and Defect ID 21080.