Skip to content

Fix event log filters#12

Merged
abunsen merged 2 commits intomainfrom
fix-event-log-filters
Apr 16, 2026
Merged

Fix event log filters#12
abunsen merged 2 commits intomainfrom
fix-event-log-filters

Conversation

@abunsen
Copy link
Copy Markdown
Contributor

@abunsen abunsen commented Apr 16, 2026

No description provided.

abunsen added 2 commits April 16, 2026 15:35
The Rails controller reads params[:filters][:device] etc., but the SDK
was passing filters={...} as a single nested dict. The requests library
stringifies a dict value as "{'device': 'mobile'}" which the controller
can't parse, so no filter ever reached the query.

Expand a nested `filters` kwarg into Rails-style bracket params
(filters[device]=mobile) before sending. Other top-level kwargs
(page, per_page) pass through unchanged. None-valued filter entries
are skipped.
@abunsen abunsen merged commit 8e81e0f into main Apr 16, 2026
5 checks passed
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