Limit to last 10k the sended sms to see

This commit is contained in:
osaajani 2021-07-13 01:36:22 +02:00
parent ad93a7b537
commit 8f7868cae7
2 changed files with 2 additions and 2 deletions

View file

@ -53,7 +53,7 @@ namespace controllers\publics;
*/
public function list_json()
{
$entities = $this->internal_sended->list_for_user($_SESSION['user']['id']);
$entities = $this->internal_sended->list_for_user($_SESSION['user']['id'], 10000);
foreach ($entities as &$entity)
{
$entity['destination_formatted'] = \controllers\internals\Tool::phone_link($entity['destination']);