Hi,

Can you explain what you actually think is wrong, and what you are trying to achieve?

I don't really understand the issue and as far as I'm concerned the Company Tickets functionality in the Customer interface works just fine.

--
Mike


On Mon, Nov 26, 2012 at 5:20 PM, Vadim S. Goncharov <vgoncharov@nic.ru> wrote:
Hi,

I've found that Kernel/Modules/CustomerTicketOverview.pm still calls:

CompanyTickets => {
    All => {
        Name   => 'All',
        Prio   => 1000,
        Search => {
            CustomerID =>
                [ $Self->{CustomerUserObject}->CustomerIDs( User => $Self->{UserLogin} ) ],
            OrderBy        => $Self->{OrderBy},
            SortBy         => $Self->{SortBy},
            CustomerUserID => $Self->{UserID},

but TicketSearch() routine has stopped to process 'CustomerID' in rev. 1.197, it is completely ignored for years ago.

What I was actually trying to do when found this - I was trying to make work "My Company Tickets" feature. The intuitive way of setting "company" field to group borrowed from LDAP group:

[ 'UserCustomerID', 'CustomerID', 'mail',            1, 1, 'var', '', 0 ],
[ 'UserCustomerIDs', 'CustomerIDs', 'ou',            1, 1, 'var', '', 0 ],

didn't work...

--
Vadim Goncharov     <vgoncharov@nic.ru>           RU-Center
NET Department                            http://www.nic.ru
NET-SYS Group             phone:+7(495)737-7646  (ext.4019)
_______________________________________________
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev