Combination View Flat View Tree View
Threads [ Previous | Next ]
Jorge Diniz
Liferay 6.0.5 Maximum Items to Display doesn't work
August 24, 2010 1:50 AM
Answer

Jorge Diniz

Rank: New Member

Posts: 9

Join Date: July 26, 2010

Recent Posts

Maximum Items to Display on asset publisher of the liferay 6.0.5 doesn't work. Anybody knows how to correct this error?
Ricardo Vieira
RE: Liferay 6.0.5 Maximum Items to Display doesn't work
September 2, 2010 4:25 AM
Answer

Ricardo Vieira

Rank: Junior Member

Posts: 39

Join Date: August 16, 2010

Recent Posts

its a bug, its been reported and fixed for next version:

http://issues.liferay.com/browse/LPS-12149
Yiwen Lu
RE: Liferay 6.0.5 Maximum Items to Display doesn't work
December 23, 2010 9:44 PM
Answer

Yiwen Lu

Rank: New Member

Posts: 7

Join Date: March 25, 2010

Recent Posts

overwrite com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl.java

in line 291:entryQuery.setEnd(end + PropsValues.ASSET_FILTER_SEARCH_LIMIT);

change to: entryQuery.setEnd(end);

or you can overwrite portal.properties in portal-ext.properties

asset.filter.search.limit=0

just do it.