Skip to content

Commit

Permalink
Add new filter for free unassigned tickets (#452)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomás Castillo <[email protected]>
  • Loading branch information
tomrndom authored and smarcet committed Aug 12, 2024
1 parent 705e1ed commit 3ba7640
Show file tree
Hide file tree
Showing 5 changed files with 1,452 additions and 859 deletions.
4 changes: 4 additions & 0 deletions src/actions/ticket-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ const parseFilters = (filters, term = null) => {
filter.push('is_printable==1');
}

if (filters?.excludeFreeUnassigned) {
filter.push("exclude_is_printable_free_unassigned==1");
}

if (filters?.hasOwnerFilter) {
if (filters.hasOwnerFilter === 'HAS_OWNER')
filter.push(`has_owner==1`);
Expand Down
1 change: 1 addition & 0 deletions src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1521,6 +1521,7 @@
"print_modal_body": "You are about to send all selected tickets to print",
"show_printable": "Show Printable Tickets",
"show_printable_info": "Must be an active ticket with the access level of IN_PERSON.",
"exclude_free_unassigned": "Exclude Unassigned Free Tickets?",
"items_qty": "Selected {qty} Tickets",
"select_view_2_print": "Select a View Type to Print",
"select_fields": "Show Columns",
Expand Down
Loading

0 comments on commit 3ba7640

Please sign in to comment.