Skip to content

Commit

Permalink
Add callback to Bulk.html after ticket search
Browse files Browse the repository at this point in the history
In some situation we might want to add process the search results
before displaying them. This callback allows to do that.
  • Loading branch information
richieri-bps committed Apr 8, 2024
1 parent cf34cad commit 252246e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/html/Search/Bulk.html
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,8 @@

Abort( loc("No search to operate on.") ) unless ($Tickets);

$m->callback( CallbackName => 'MassageTickets', Tickets => $Tickets, ARGSRef => \%ARGS );

# build up a list of all custom fields for tickets that we're displaying, so
# we can display sane edit widgets.

Expand Down

0 comments on commit 252246e

Please sign in to comment.