Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread Jim Brandt
Sorry, late to the conversation, but here's something I think is similar: https://metacpan.org/pod/RT::Extension::PreviewInSearch On 4/25/16 4:48 AM, David Schmidt wrote: On 25.04.2016 09:58, David Schmidt wrote: On 25.04.2016 08:49, Christian Loos wrote: Am 25.04.2016 um 08:46 schrieb David

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
On 25.04.2016 09:58, David Schmidt wrote: On 25.04.2016 08:49, Christian Loos wrote: Am 25.04.2016 um 08:46 schrieb David Schmidt: Another path that looks weird to me is: "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" shouldnt that be

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
On 25.04.2016 08:49, Christian Loos wrote: Am 25.04.2016 um 08:46 schrieb David Schmidt: Another path that looks weird to me is: "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" shouldnt that be "local/Callbacks/YourOrg/Elements/RT/Ticket/ColumnMap/Once" Arg ... I missed this,

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread Christian Loos
Am 25.04.2016 um 08:46 schrieb David Schmidt: > Another path that looks weird to me is: > > "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" > > shouldnt that be > > "local/Callbacks/YourOrg/Elements/RT/Ticket/ColumnMap/Once" Arg ... I missed this, this must be

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-25 Thread David Schmidt
I tried that already and it didnt change a thing. I run the dev server directly form the command line (./sbin/rt-server --port 3000) and dont get an error msg. Another path that looks weird to me is: "local/Callbacks/YourOrg/Elements/RT__Ticket/ColumnMap/Once" shouldnt that be

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-24 Thread Christian Loos
Am 23.04.2016 um 10:25 schrieb David Schmidt: > On a sidenote (and without intention to blame you for anything) RT > development is horrible to debug. :) You should see in your logs a message like 'function TicketPreview not defined' ... > $ cat local/lib/rt/Ticket_Local.pm because the correct

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-23 Thread David Schmidt
On 21.04.2016 15:56, Emmanuel Lacour wrote: Le 21/04/2016 15:12, David Schmidt a écrit : When I list tickets I want to show the first 3 lines of the ticket message for each ticket. I am using the following patch to achieve this, but it is quite a hack. Can someone recommend a cleaner

Re: [rt-users] Show Ticket Message in Search/Results.html

2016-04-21 Thread Emmanuel Lacour
Le 21/04/2016 15:12, David Schmidt a écrit : > When I list tickets I want to show the first 3 lines of the ticket > message for each ticket. > > I am using the following patch to achieve this, but it is quite a hack. > Can someone recommend a cleaner solution. > > you don't have to patch, you

[rt-users] Show Ticket Message in Search/Results.html

2016-04-21 Thread David Schmidt
When I list tickets I want to show the first 3 lines of the ticket message for each ticket. I am using the following patch to achieve this, but it is quite a hack. Can someone recommend a cleaner solution. local/html/Elements/CollectionList# BEGIN TicketPreview in Search/Results.html