Skip to content

Commit

Permalink
bugfix: ensure that tracking ids are filtering correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
densumesh authored and cdxker committed Jan 8, 2025
1 parent 82fe335 commit b0dc418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontends/search/src/components/FilterModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ export const FilterItem = (props: FilterItemProps) => {
ids: null,
tracking_ids: idFilterText(),
} as HasIdFilter);
filterIsHasIdFilter(curFilter());
} else {
if (curFieldFilter?.match_all?.length) {
setTempFilterMode("match_all");
Expand Down Expand Up @@ -717,7 +718,6 @@ export const FilterItem = (props: FilterItemProps) => {
placeholder="h1, h2, h3"
class="rounded-md border border-neutral-400 bg-neutral-100 p-1 dark:border-neutral-900 dark:bg-neutral-800"
onChange={(e) => {
console.log("setIdFilterText");
setIdFilterText(e.currentTarget.value.split(","));
}}
value={idFilterText()}
Expand Down

0 comments on commit b0dc418

Please sign in to comment.