Improve Performance and Memory Consumption
[KULRICE-7006] Provide configuration on Collection Group to limit displayed records Created: 26/Mar/12 Updated: 03/Apr/13 Resolved: 26/May/12
|Project:||Kuali Rice Development|
|Security Level:||Public (Public: Anyone can view)|
|Reporter:||Jerry Neal (Inactive)||Assignee:||Matthew Wuertz (Inactive)|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
|KAI Review Status:||Not Required|
|KTI Review Status:||Not Required|
To prevent displaying query results that are very large, an option could be provided on the collection group to limit the number of displayed records. Note, the lookup framework currently has a feature to limit the number of query results. This would be a different option that can be applied to any general collection group.
Add a property of type int to CollectionGroup named displayCollectionSize. After the filters run on the collection, limit the size (if greater) to the configured displayCollectionSize. The default should be set to -1 to indicate no limit. Note the filter should be done before the layout managers run and should not impact the actual collection on the model (similar to how filters work).