-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
OpenProject Filter Fix #4166
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
base: master
Are you sure you want to change the base?
OpenProject Filter Fix #4166
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello there 19Topgun93! 👋
Thank you and congrats 🎉 for opening your first PR on this project! ✨ 💖
We will try to review it soon!
@@ -52,19 +52,6 @@ export class OpenProjectApiService { | |||
{ | |||
// see https://www.openproject.org/docs/api/endpoints/work-packages/ | |||
url: `${cfg.host}/api/v3/projects/${cfg.projectId}/work_packages`, | |||
params: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this will stop to work once you have more than 100 (pageSize) workPackages. Maybe there is a better way to fix this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will look into the filter API. I thought it is a cheap way. I'm not so into programming at the moment. I can read it and I learned it in my work, but I don't work as a developer. So I will try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested a little and add the params with pagesize 100 and sortBy updatedAt. I haven't get the filters parameter working. The Search doesn't filter at all. But for me that is better, then it doesn't work at all. Maybe my understanding from the filter parameter is bad. I don't know. Maybe a Dev with more experience then I can make it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your effort! Currently I am very busy with some other features, so someone else picking this up, would be very welcome!
Description
Describe what this change achieves
I have change the "open-project-api.service.ts". I have erase the filter parameter.
Issues Resolved
I cannot connect OpenProject with the actual Software. Without the filter I cane.
List any existing issues this PR resolves
#4142
Check List
This is my first PR. So I hope this is allright. I only have erase the one part, and testet the software. But not heavy testing. But I didn't change anything else and the OpenProject connection is function now. So I think, it is all right.
King regards.