kimai / Paid-plugins

Support for paid Kimai plugins: Discussions and feature requests
https://www.kimai.org/store/
11 stars 1 forks source link

Working Contract jump marker opens wrong user #109

Closed HeinzWuert closed 8 months ago

HeinzWuert commented 11 months ago

As an admin, you can directly select another user from the Working Contract > working times main menu, if no target hours have been defined yet. If you use the jump marker, the user menu opens, but for your own name and not for the name that is to be edited.

image

kevinpapst commented 11 months ago

Nope. The issue is different. If your own (admin) account is configured as "system user" and therefor invisible in the dropdown, the frontend selects the first entry in the box. But the page still shows your account data and not the data for "_Testuser FZ" (in this example) .

That is a weird edge case and I am not sure how to handle that.

Once you change the user back and forth, the correct link is used.

kevinpapst commented 8 months ago

Will be fixed with the next release https://github.com/kimai/kimai/pull/4549 I added a global solution for that issue, which also occurs on the three report "weekly, monthly, annual by user".

kevinpapst commented 8 months ago

Fixed with 2.10.0