I modified the Track Role History (Role Watchdog) view in a way that it displays all role changes. In order to do that, I remove the contextual filter for Role Watchdog: User(performed on).

Then I add two exposed filters for Role Watchdog: User(performed on) and Watchdog: User(performed by).

However, the following search-string returns no results:
https://my.website.com/user/track_history?field_user_performed_on_=some.user&field_user_performed_by_=another.user

Finally I’d like to add a RESTexport display and export the selection as a CSV-file:
https://my.website.com/user/track_history?_format=csv&keys=field_user_performed_on_=some.user&field_user_performed_by_=another.user

Any thoughts why the filters do not work?

Comments

Thomas Factory created an issue. See original summary.

Ralf Eisler’s picture

I found out the problem here:

The field: Role Watchdog: User(performed on) shows the username (Target Username).
The field: Role Watchdog: User(Performed by) shows the username (Username).

The filter criterion: Role Watchdog: User(performed on) filters the UID of the target user (1234).
The filter criterion: Role Watchdog: User(Performed by) filters the UID of the user (1).

When I enter the UIDs in the search field, then the filtering works, which is not the expected behaviour.

gaurav.kapoor’s picture

Status: Active » Closed (outdated)

Please refer to the new role watchdog history view which has been added.