Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter on Activities doesn't work properly for Users #1657

Open
RamanDamayeu opened this issue Apr 10, 2024 · 1 comment
Open

Filter on Activities doesn't work properly for Users #1657

RamanDamayeu opened this issue Apr 10, 2024 · 1 comment
Assignees
Labels
kind: bug Something isn't working

Comments

@RamanDamayeu
Copy link
Contributor

RamanDamayeu commented Apr 10, 2024

On the Activity tab (from the main page or on each Data Entity) there is a possibility to filter out Activities made by users. User name is recorded to the underlying audit table. There is a filter to find records by user name by for now it looks for Owners and filters out records changed by the associated Owners. It leads to some issues:

  1. If user does not have an association with Owner we could not filter out records by the user.
  2. If Owner - User association is changed during the time filter mistakenly filters records for wrong users.

Proposed solution: use valued from the audit table for Users directly.

The list of all tracked activity types: odd-platform-api/src/main/java/org/opendatadiscovery/oddplatform/dto/activity/ActivityEventTypeDto.java

@RamanDamayeu RamanDamayeu added the kind: bug Something isn't working label Apr 10, 2024
@RamanDamayeu RamanDamayeu changed the title Filter on Activities doesn't work propertly for Users Filter on Activities doesn't work properly for Users Apr 10, 2024
@RamanDamayeu RamanDamayeu added this to the 0.26.0 milestone Apr 10, 2024
@RamanDamayeu RamanDamayeu modified the milestones: 0.26.0, 0.27.0 Apr 30, 2024
@RamanDamayeu RamanDamayeu removed this from the 0.27.0 milestone May 29, 2024
@RamanDamayeu
Copy link
Contributor Author

Draft PR: #1658

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants