Skip to content

Commit

Permalink
Merge pull request #356 from superdesk/develop
Browse files Browse the repository at this point in the history
Setting Urgency to plain request format
  • Loading branch information
IvanJelicSF authored Oct 28, 2024
2 parents 69c68ad + 8f0ae8d commit aef5ddc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions client/components/ContentLists/Automatic/FilterPanel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,14 @@ class FilterPanel extends React.Component {
vocabularies = vocabularies.filter((v) => v.id !== "priority");
}

// urgency
const urgency = vocabularies.find((v) => v.id === "urgency");

if (urgency) {
newMetadata.urgency = urgency.value[0].value;
vocabularies = vocabularies.filter((v) => v.id !== "urgency");
}

// services
const services = vocabularies.find((v) => v.id === "categories");

Expand Down

0 comments on commit aef5ddc

Please sign in to comment.