cancel
Showing results for 
Search instead for 
Did you mean: 

How to adjust number of tickets showin in ticket pool widget?

Former Member
0 Kudos

Does anybody happen to know how to and where to adjust the number of tickets visible on ticket pool widget? Now it seems that only 8 tickets are visible. Need to view more tickets on the view at the same time.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member387866
Active Contributor
0 Kudos

Hi Sami,

As Chris said, this is a bug. It is a known bug and in the CS Cockpit backlog.

The workaround is to override the "csTicketPoolSearchController" bean and increase the "pageSize" value to suit your needs. This can be done in the "cscockpit-spring-widgets.xml" file. Which I found in `\ext-channel\cscockpit\resources\cscockpit`.

 <alias alias="csTicketPoolSearchController" name="defaultCsTicketPoolSearchController"/>
 <bean id="defaultCsTicketPoolSearchController" parent="csBaseDefaultSearchController">
     <property name="searchService" ref="csTicketPoolSearchService"/>
     <property name="pageable.pageSize" value="8"/> <!-- Make the change here -->
     <property name="defaultSearchCommand">
         <bean class="de.hybris.platform.cscockpit.services.search.impl.DefaultCsTextSearchCommand">
             <property name="flags">
                 <list>
                     <util:constant static-field="de.hybris.platform.cscockpit.services.search.generic.query.DefaultTicketPoolSearchQueryBuilder$SearchAgent.CurrentUserOrUnassigned"/>
                     <util:constant static-field="de.hybris.platform.cscockpit.services.search.generic.query.DefaultTicketPoolSearchQueryBuilder$SearchGroup.MyGroup"/>
                     <util:constant static-field="de.hybris.platform.cscockpit.services.search.generic.query.DefaultTicketPoolSearchQueryBuilder$SearchStatus.NewOrOpen"/>
                 </list>
             </property>
         </bean>
     </property>
 </bean>



Something to consider is that this will require an Update, so if this is a live production system, it may be a problem.

I hope this is a good workaround for you,
Luke

Former Member
0 Kudos

Well actually it should show 15. But there seems to be an interesting display bug.

Former Member
0 Kudos

a bug? Do you know is this a documented bug?