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

Unable to select «projects» while filtering in timesheets #601

Closed
lehmn opened this issue Feb 25, 2019 · 7 comments · Fixed by #758
Closed

Unable to select «projects» while filtering in timesheets #601

lehmn opened this issue Feb 25, 2019 · 7 comments · Fixed by #758
Milestone

Comments

@lehmn
Copy link

lehmn commented Feb 25, 2019

Hello Kevin,
Tanks for Kimai!
Bug: in admins timesheets (*/team/timesheet/) I can't select «Project» while filtering, but some projects exists

Steps to reproduce the behavior:

  1. Go to https://demo-v2.kimai.org/en/team/timesheet/
  2. Click on Filter button, press «Projects» dropdown
  3. See no projects in this menu while it existst in list below: https://i.imgur.com/gaGsrGi.jpg

Kimai version: Kimai2 0.8.1
PHP version: 7.2.15

@kevinpapst
Copy link
Member

Thanks for the report @trfnvo 👍
Unfortunately I don't see a way to fix that for now. You have to select the customer before the project list is populated.

@j0hannesr0th
Copy link
Contributor

@kevinpapst you could disable the projects select dropdown by default - and with onchange event on customer select dropdown you can enable the projects select dropdown.

@kevinpapst
Copy link
Member

Another option would be to pre-populate the list with all projects, but that could be a problem for the people with hundreds of projects. And we would need to activate the JS select extension by default, which allows searching inside the project title.
Deactivating for non-selected customer is easier and for now consistent with the other forms

@BKapelari
Copy link

Thanks for the report @trfnvo 👍
Unfortunately I don't see a way to fix that for now. You have to select the customer before the project list is populated.

I can't see any project even if I select a customer. Same in the other views (export, …)

@kevinpapst
Copy link
Member

@BKapelari please open a new issue if fixing the directory permissions for var/cache/ doesn't help. The API needs write permissions in that folder and in var/cache/prod/.

@BKapelari
Copy link

@BKapelari please open a new issue if fixing the directory permissions for var/cache/ doesn't help. The API needs write permissions in that folder and in var/cache/prod/.

Problem solved!

I've changed the permissions to 777 no changes. So I have reset the permissions to 755.

What solved the problem:

In my Plesk hosting settings I've selected another PHP-Version (v7.3.6) and that solved the problem. Maybe it was a caching problem on the server.

@lock
Copy link

lock bot commented Aug 16, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators Aug 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants