The records_per_page key of a subpanel def is intended to allow setting how many records are shown on each page of the subpanel. However if records_per_page is greater than ten then ten records are shown per page but the pagination shows the intended count causing weird behaviour.
Looks like process_union_list_query in SugarBean.php is incorrectly setting the limit.
The
records_per_pagekey of a subpanel def is intended to allow setting how many records are shown on each page of the subpanel. However ifrecords_per_pageis greater than ten then ten records are shown per page but the pagination shows the intended count causing weird behaviour.Looks like process_union_list_query in SugarBean.php is incorrectly setting the limit.