Skip to content

Conversation

@kainhofer
Copy link
Contributor

@kainhofer kainhofer commented Oct 12, 2025

  • Add new column type f111 to list former members of the role. Although the CatRep by default only lists current membes, those former members will be included, but the former members column will be marked correspondingly to prevent confusion.
  • Add new column types b111, e111, d111, uuuid, ulogin_name, ulast_login, unumber_logins
  • Fix bug where category restrictions in the category report would not be applied at all
  • Split catrep configuration column type select box into two boxes, where the first allows user to select the role, and the second allows the selection of the role membership property (current/past member, leader, start, end, duration).

NOTE: The bNN, eNN and dNN column types still suffer from the multi-membership issue described in issue #1867. The call to $membership->readDataByColumns returns false if a user has two or more memberships (past and present) on the same role.

image image

…uration, user profile fields (uuid, login_name, last_login, etc.)

* Add new column type f111 to list former members of the role. Although the CatRep by default only lists current membes, those former members will be included, but the former members column will be marked correspondingly to prevent confusion.
* Add new column types b111, e111, d111, uuuid, ulogin_name, ulast_login, unumber_logins
* Fix bug where category restrictions in the category report would not be applied at all
* Split catrep configuration column type select box into two boxes, where the first allows user to select the role, and the second allows the selection of the role membership property (current/past member, leader, start, end, duration).

NOTE: The bNN, eNN and dNN column types still suffer from the multi-membership issue described in issue Admidio#1867. The call to $membership->readDataByColumns returns false if a user has two or more memberships (past and present) on the same role.
@kainhofer kainhofer changed the title Category report: Add columns for former roles, membership start/end/d CatRep: UI improvement; add columns for former roles, membership start/end/duration, user profile fields (uuid, login_name, last_login, etc.) Oct 12, 2025
@kainhofer kainhofer requested a review from Fasse October 12, 2025 21:23
@kainhofer kainhofer added this to the v5.0 milestone Oct 12, 2025
@Fasse
Copy link
Member

Fasse commented Oct 20, 2025

I don't know if it's from your changes but anyway we should only work with the group roles in this report and not with the event roles. Because of this the membership column should only show group roles:
Bildschirmfoto 2025-10-20 um 12 24 07

@kainhofer
Copy link
Contributor Author

I didnt't change which roles are considered in either the role selection box, nor the displayed memberships with the adummy or ddummy column types.

Do you mean to exclude all event roles from the category report at all? I.e. shall the event roles be removed from the list of column types (the select box in the configuration), too? Or shall they only be excluded from the adummy and ddummy column types?

@Fasse
Copy link
Member

Fasse commented Oct 29, 2025

It was my mistake. I thought that no event roles would be selectable in the category report at this point. However, that is not the case. It can stay as it is and a merge can take place.

<string name="SYS_UTF32BE">UTF-32BE</string>
<string name="SYS_UTF32LE">UTF-32LE</string>
<string name="SYS_UTF8">UTF-8</string>
<string name="SYS_UUID">Unique user ID</string>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Within the list configuration we used SYS_UNIQUE_ID. I think we should use the same string in the category report. So we don't need SYS_UUID translation key.

@Fasse Fasse modified the milestones: v5.0, v5.1 Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants