Re: [rt-users] Match isWatcher and part of subjectline

2016-10-06 Thread Jeffrey Pilant
Joel Bergmark Writes: >Could anyone assist with this scrip? > >This matches $match2 at every time, regardless if both $match1 and $match2 is >present in the subject-line. Hence the If(index part is not working, any good >perl-people that can correct it? Both matches must be present to not return

Re: [rt-users] Match isWatcher and part of subjectline

2016-10-06 Thread Joel Bergmark
Could anyone assist with this scrip? This matches $match2 at every time, regardless if both $match1 and $match2 is present in the subject-line. Hence the If(index part is not working, any good perl-people that can correct it? Both matches must be present to not return 0; my $match1 = "Informati

Re: [rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-06 Thread David Schmidt
I'll answer myself: if an action is not a ref it is rendered in the result box. bit unexpected but im sure there is a reason. (code in share/html/Elements/ListActions) https://github.com/bestpractical/rt/blob/stable/share/html/Elements/ListActions#L49 On 06.10.2016 13:53, David Schmidt wrote

[rt-users] Adding an Action link to Ticket/Display.html/BeforeActionList

2016-10-06 Thread David Schmidt
When/Where are the actions added to @Actions? 1) for some reason the \@Actions ArrayRef is empty when I access it in the callback. Where do the Actions come from? I am talking about the links "Reply", "Comment", "Forward", "Stall", ... 2) If I push a simple string to \@Actions they end up in