Re: TicketSearch(CustomerID) ignored

Michiel Beijen <[email protected]>
Newsgroups gmane.comp.otrs.devel
Message-ID <CABD0r132pxhROTa_wjMr5i6Wg+dF7F945sSb=TmCsQfnWMTr=w@mail.gmail.com>
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 <[email protected]>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     <[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<http://lists.otrs.org/pipermail/dev>
> To unsubscribe: http://lists.otrs.org/cgi-bin/**listinfo/dev<http://lists.otrs.org/cgi-bin/listinfo/dev>
>

_______________________________________________
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.