Skip to content

Commit

Permalink
Get all items for Pri, Sev, Type, and Project
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon committed Dec 4, 2023
1 parent 37af8de commit a8e3a34
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const selectCasePriority = async (casePriorityName: string) => {
filter: JSON.stringify([
{ and: [{ model: "CasePriority", field: "name", op: "==", value: casePriorityName }] },
]),
itemsPerPage: -1,
})
const caseType = response.data.items[0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const selectCaseSeverity = async (caseSeverityName: string) => {
filter: JSON.stringify([
{ and: [{ model: "CaseSeverity", field: "name", op: "==", value: caseSeverityName }] },
]),
itemsPerPage: -1,
})
const caseSeverity = response.data.items[0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ const selectCaseType = async (caseTypeName: string) => {
filter: JSON.stringify([
{ and: [{ model: "CaseType", field: "name", op: "==", value: caseTypeName }] },
]),
itemsPerPage: -1,
})
const caseType = response.data.items[0]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const selectProject = async (projectName: string) => {
filter: JSON.stringify([
{ and: [{ model: "Project", field: "name", op: "==", value: projectName }] },
]),
itemsPerPage: -1,
})
const project = response.data.items[0]
Expand Down

0 comments on commit a8e3a34

Please sign in to comment.