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: feedback filter #700

Merged
merged 1 commit into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/db/0056.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
drop index if exists run_input_idx;
drop index if exists run_output_idx;
drop index if exists run_error_idx;
drop table log;
drop table if exists log;
create extension if not exists btree_gin;
create index run_project_id_input_idx on run using gin (project_id, ((input)::text) gin_trgm_ops);
create index run_project_id_output_idx on run using gin (project_id, ((output)::text) gin_trgm_ops);
4 changes: 3 additions & 1 deletion packages/shared/checks/serialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ function deserializeParamValue(
switch (filterParam.type) {
case "select":
if (filterParam.multiple) {
return value.split(",").map(decodeURIComponent);
return value
.split(",")
.map((v) => decodeURIComponent(decodeURIComponent(v)));
} else {
return decodeURIComponent(value);
}
Expand Down
Loading