or since Ticket2 technically is my ticket: ----------------------------------------------------------- "My Tickets" - Ticket1, Ticket2 "Company Tickets" - Ticket2
IMO the latest one would be ok.
The problem is, in OTRS 1.3 the CustomerIDs includes the primary customer id (see Kernel/System/CustomerUser/*.pm -> CustomerIDs()).
I updated the CVS head to work also "just" with secundary customer id's in CustomerIDs().
-=> So if you write you own Kernel/System/CustomerUser/XXX.pm where CustomerIDs() returns just "secundary" customer id's. Or if you modify Kernel/System/CustomerUser/*.pm to not return the primary customer id, the the example would be like this:
User: Tyler Hepworth Email: tylerh@natr.com CustomerID: tylerh@natr.com CustomerIDs: web
Ticket1, From: tylerh@natr.com, customer id: tylerh@natr.com Ticket2, From: tylerh@natr.com, customer id: web
Then the cp view is: ----------------------------------------------------------- "My Tickets" - Ticket1, Ticket2 "Company Tickets" - Ticket2
If there some other explanation for this behavior, please let me know.
If this is a bug, I am willing to work up a patch and submit it if you are agreeable to that.
Any patches are welcome. (Just in this case i was think that it was easier to do it driectly.) :)
Hi Martin, I have created a patch that gives the view that you think is okay (and I like as well). My Tickets: ticket 1,2 Company Tickets: ticket 2 Instead of messing with CustomerUser/*.pm, I just added an extra param to CustomerTicketOverview. If the param exists when Ticket.pm is generating @CustomerIDs, pop off the end value (which is the primary id). It works a treat! I hope you like it. Tyler