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']);

View File

@ -31,7 +31,7 @@
<div class="col-lg-12">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><i class="fa fa-upload fa-fw"></i> Liste des SMS envoyés</h3>
<h3 class="panel-title"><i class="fa fa-upload fa-fw"></i> Liste des SMS envoyés (10 000 derniers SMS maximum)</h3>
</div>
<div class="panel-body">
<form method="GET">