Skip to content

Commit

Permalink
Ensure filterspec uses name and not id for participants
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 committed Sep 22, 2023
1 parent 4537cbd commit 720c8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/static/dispatch/src/search/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default {
if (!value) {
return
}
if (has(value, "id")) {
if (!["commander", "participant"].includes(key) && has(value, "id")) {
subFilter.push({
model: toPascalCase(key),
field: "id",
Expand Down

0 comments on commit 720c8d5

Please sign in to comment.