TicketSearch(CustomerID) ignored

"Vadim S. Goncharov" <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <[email protected]>
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     <[email protected]>           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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.