[Rt-commit] rt branch 5.0/quick-create-pass-arguments created. rt-5.0.4-234-g2ded707673
BPS Git Server
git at git.bestpractical.com
Wed Oct 4 18:49:25 UTC 2023
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".
The branch, 5.0/quick-create-pass-arguments has been created
at 2ded707673d13706a6dad0769ecfa514fe204f62 (commit)
- Log -----------------------------------------------------------------
commit 2ded707673d13706a6dad0769ecfa514fe204f62
Author: sunnavy <sunnavy at bestpractical.com>
Date: Wed Oct 4 14:38:46 2023 -0400
Support QuickCreate to pass arguments to redirect URL after ticket creation
This is initially for QuickCalls extension, where we need to pass user
id on user summary page, to "QuickCreate" a ticket there.
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 64ce8dc643..5b4722428c 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -4329,6 +4329,7 @@ sub ProcessQuickCreate {
MaybeRedirectForResults(
Actions => \@results,
Path => $path,
+ $params{PassArguments} ? ( Arguments => $params{PassArguments} ) : (),
);
}
-----------------------------------------------------------------------
hooks/post-receive
--
rt
More information about the rt-commit
mailing list