Problem with count on customer portal

Moderator: crythias

Locked
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Problem with count on customer portal

Post by Gunjan »

Hi,

Please note that I am using OTRS 3.3.5. I did a development for customer portal. It was as follow:

We Hide ticket overviews on the Customer Overview Page for a particular ticket type, Now the problem is that tickets visible count is still the original one. Please refer to the following screenshot for clarification.
otrs.png
But it should be as - If for e.g 10 tickets are hidden on customer ticket overview page then count should be less than 10 from the original one.

Could anyone please help me how this is possible to do.

Regards,
Gunjan
You do not have the required permissions to view the files attached to this post.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Problem with count on customer portal

Post by jojo »

well, as you wrote you changed the code... So you have to change the code for the computing of the number also.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Problem with count on customer portal

Post by Gunjan »

Yes, you are right. But the problem is that I am not able to find any connectivity between the two. actually I have tried to understand the code of CustomerTicketOverview.pm and found that the mentioned count is calculated before the tickets overview's visibility implemented. so I am not able to implement the code. It would be really helpful if you can help me.
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Problem with count on customer portal

Post by reneeb »

Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Gunjan
Znuny expert
Posts: 228
Joined: 09 Dec 2013, 06:37
Znuny Version: 3.3.x

Re: Problem with count on customer portal

Post by Gunjan »

Thank you :)
Locked