on 10-13-2014 2:15 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Well actually it should show 15. But there seems to be an interesting display bug.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.