Description of the issue/feature this PR addresses
This PR fixes the department ID rendering in the listing view, if no department ID is set. E.g. this might be a side effect when importing setup data from an older instance.
Current behavior before PR
Non existing Department ID is rendered as a link:
Desired behavior after PR is merged
Non existing Department ID is not rendered in the listing
--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.
Description of the issue/feature this PR addresses
This PR fixes the department ID rendering in the listing view, if no department ID is set. E.g. this might be a side effect when importing setup data from an older instance.
Current behavior before PR
Non existing Department ID is rendered as a link:
Desired behavior after PR is merged
Non existing Department ID is not rendered in the listing
-- I confirm I have tested this PR thoroughly and coded it according to PEP8 and Plone's Python styleguide standards.