I have increased the number of records that is shown in a SubPanel for a custom module I created:
<?php
require_once('include/MVC/View/views/view.detail.php');
class cd_TransactionsViewDetail extends ViewDetail
{
public function display()
{
global $sugar_config;
parent::display();
$this->saleDisplay();
$sugar_config['list_max_entries_per_subpanel'] = '100';
}
}
But when I deleted a record from the SubPanel it oddly jumps back to displaying just 10 records.
Any idea how to get around this? I know its using AJAX to do the delete but I'm not sure where to look.