-
-
Notifications
You must be signed in to change notification settings - Fork 597
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
Export timesheet only exports entries on the current page #534
Comments
I don't want to support unlimited items for the regular user, neither in the export nor on the "My Times" page. This could be a potential problem, as showing unlimited items might kill your PHP process or your browser due to resource limitations (such as RAM). And we should talk about the use case behind this button and my intention was: The "simple user timesheet export" was never meant to be a source for what you seems to use it for. If you are running your own Kimai instance, you probably just want to wait for the export module (very soon available - already in work), which does all you want in a much better way. |
Ok, thank you I'm waiting for the exports, that's what I really want! |
Hey, ran into the same issue
Exactly what I'm using it for. A project sometimes ends up having more than 100 entries a month, so there is no way to export them quickly. Export also seems to be the only way to see all accumulated hours per project (invoice only shows them separated by activity)? Great work so far! |
Even though the export module will add a lot of the missing pieces, it won't be available to the regular user in a larger installation, so the user-export needs to be improved. I'd like to collect some good ideas how that could be achieved. Please share them!
|
From a UX perspective it makes sense to take the time-range into account while exporting and ignore the paging. I don't see a use case for exporting a report limited to a fixed set of records. So my suggestion would be to export all items according to the filter parameters. If those items exceed a certain amount (that could potentially cause PHP/memory issues), you could warn the user about that fact instead of forcing the limit. |
Ideas:
|
@bydecker the biggest problem is: the default filter shows all records. So most of the time someone hits the export button, the complete history would be exported. This is less than sub-optimal. @infeeeee new feature request => new issue, otherwise this will get lost. I could use your help in #538 with testing and feedback. |
Ah, I see the problem, just updated to the latest release (before that, it used to export the last month only on default settings). How about:
|
Lets shortcut this discussion, your points are totally valid, so I fixed the issue: all records for the selected time range will be included. |
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. |
Describe the bug
On My times -> Export timesheet, it only exports entries on the current page, not everything
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I think it should export all filtered records, not just the visible ones from the first page. Page size cannot be greater than 100, so I cannot calculate totals for more than 100 entries with one click.
Additional context
It works this way in the demo installation.
I could use invoices for this, but I use this because I just need quick summaries for custom projects and timeframes, and I found I can calculate custom totals quicker this way than with invoices.
Adding an 'unlimited' option to page size would solve this issue temporarily.
The text was updated successfully, but these errors were encountered: