#52285CategoryCollection must handle multiple category fields per table
Description
Feature #51921 introduced the possibility to have multiple category selectors per table. The CategoryCollection class was not updated accordingly and – in the current state – will retrieve relations for all fields. The CategoryCollection must be modified to take the field name into account.
This also has an impact on the recently introduced category-based page menu, which needs to show a field selector on top of the category selector.