Combination View Flat View Tree View
Threads [ Previous | Next ]
James Denmark
Documents & Media - Paginate Version History
October 10, 2012 11:32 AM
Answer

James Denmark

Rank: Junior Member

Posts: 27

Join Date: November 19, 2008

Recent Posts

We have some documents in the documents and media portlet that are edited every day and as such have 100's of versions. The new 6.1 document view shows all those versions in a collapsible panel on the right and for each entry it embeds the file_entry_history_action.jsp causing this page to take upwards of 30 seconds to generate.

This would be less of an issue if the file_entry_history had pagination on the search container but adding it will require a new method in the api to pass a start and end parameter to the list.
Jorge Ferrer
RE: Documents & Media - Paginate Version History
October 18, 2012 10:00 AM
Answer

Jorge Ferrer

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2757

Join Date: August 31, 2006

Recent Posts

Yup, makes sense.

This should be an easy change. Do you want to give it a try and send me a pull request? (Remember to create the JIRA ticket and reference it in your commit(s) too)