Skip to content

Commit

Permalink
fix: submmitter action original filter is_speaker==false
Browse files Browse the repository at this point in the history
  • Loading branch information
smarcet committed Jul 19, 2024
1 parent 1405202 commit 5579ae0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/actions/submitter-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,11 @@ export const sendSubmitterEmails =
// we don't need the filter criteria, we have the ids
filter.push(`id==${selectedItems.join("||")}`);
const originalFilters = parseFilters(filters);

if (source && source === sources.submitters_no_speakers) {
originalFilters.push("is_speaker==false");
}

if (term) {
const filterTerm = buildTermFilter(term);
originalFilters.push(filterTerm.join(","));
Expand Down

0 comments on commit 5579ae0

Please sign in to comment.