mirror of
https://codeberg.org/vlw/freshdesk-filters.git
synced 2025-11-04 23:22:42 +01:00
Compare commits
No commits in common. "d6168340a32c7912f46e734666efeda7eec26b96" and "660d67effbf35d8a35aa392c94a853959d383ee3" have entirely different histories.
d6168340a3
...
660d67effb
2 changed files with 4 additions and 7 deletions
|
|
@ -13,17 +13,14 @@ This extension provides the following functionality:
|
|||
### Open ticket by clicking the whole table column
|
||||
Tickets can be opened by clicking anywhere inside the subject column, not just on the link itself.
|
||||
|
||||
### (Optional) Agent name(s)
|
||||
Current agent name or names can be defined explicitly or with a regular expression.
|
||||
|
||||
### (Optional) Open ticket in a new tab
|
||||
Open tickets in a new tab instead of navigating to the ticket directly.
|
||||
|
||||
### (Optional) Dim tickets not assigned to current agent(s)
|
||||
Tickets not assigned to the current agent(s) will be dimmed.
|
||||
### (Optional) Dim tickets not assigned to current agent
|
||||
Tickets not assigned to the current agent will be dimmed.
|
||||
|
||||
### (Optional) Move tickets assigned to current agent to the top
|
||||
> [!WARNING]
|
||||
> This feature is kind of broken at the moment.
|
||||
|
||||
Tickets assigned to the current agent(s) will be placed at the top of the tickets table.
|
||||
Tickets assigned to the current agent will be placed at the top of the tickets table.
|
||||
|
|
@ -136,7 +136,7 @@ class FreshdeskFilters {
|
|||
// Check if this ticket is assigned to this agent
|
||||
const isCurrentAgent = await CONFIG.get(CONFIG.AGENT_NAME_REGEX) !== "true"
|
||||
// An agent name is explicitly defined
|
||||
? ticketAgentName === agentName
|
||||
? ticketAgentName !== agentName
|
||||
// Agent name(s) are defined with RegEx
|
||||
: new RegExp(agentName).test(ticketAgentName);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue