Eventscalendar

Moderator: crythias

Post Reply
stephanej
Znuny newbie
Posts: 11
Joined: 19 Jun 2015, 23:16
Znuny Version: 6.0.7

Eventscalendar

Post by stephanej »

Hi, i am running OTRS 3.3.12

I would like to know if it is possible in the Dashboard Events TIcket Calendar, to see only the calendar events for which i am the owner or responsible, and not everyone's events.

I could not find a parameter for this. I tried to add OwnerOnly with value 1 in :
DashboardBackend###0280-DashboardEventsTicketCalendar

but it did not change anything.

Thanks a lot for your help
OTRS 6.x.x
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Eventscalendar

Post by RStraub »

I think you would need to modify the source files. The tickets for the calendar are filtered here:
https://github.com/OTRS/otrs/blob/maste ... ar.pm#L120

To only show your own tickets, you would probably need an additional line like:

Code: Select all

   OwnerIDs => [ $Self->{UserID} ],
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
stephanej
Znuny newbie
Posts: 11
Joined: 19 Jun 2015, 23:16
Znuny Version: 6.0.7

Re: Eventscalendar

Post by stephanej »

It is working ! Thank you very much !
OTRS 6.x.x
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: Eventscalendar

Post by RStraub »

Very welcome :)
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Post Reply