Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cf on transactions querybuilder #325

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

elacour
Copy link
Contributor

@elacour elacour commented Apr 14, 2022

Format fields wrongly list queue or global ticket customfields as available in transactions query builder. Results produces then empty fields.

So first, list every Transaction customfields (global and depending on TicketQueue filter if any) which will be processed as usual (CustomField.{foo} means transaction CF "foo".

Then add every ticket customfields (also global and depending on TicketQueue filter if any) as available field.They are displayed using the transaction->Object and the syntax TicketCustomFieldView.{...}.

Emmanuel Lacour added 2 commits April 14, 2022 15:26
$CustomFields->LimitToQueue hardcode a LookupType of
'RT::Queue-RT::Ticket' which later get ORed with
RT::Queue-RT::Ticket-RT::Transaction LookupType and list ticket
customfields instead of transaction customfields.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant