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

[FIX] Fix filter_events uri parameter order #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lrapp-adan
Copy link

The way the filter_events function calls pi_get (return self._s.pi_get(f'case/timeline/advanced-filter?q={filter_uri}&', cid=cid)) leads to the q parameter being placed before the cid parameter.
One would not expect this to be a problem, but it is, as the API seems to expect the URI-parameters the other way around. This leads to the strange behavior of the API returning data from some other case id. (The last successfully accessed one? Maybe a caching problem / bug in iris-web? Unfortunately, I was not able to identify the root cause yet.)

However, this PR fixes the URI parameter order for the filter_events function to make it work for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant