increase initial page load to 1000 and removed message status

This commit is contained in:
Kwesi Banson Jnr
2026-04-09 20:00:16 +00:00
parent ffde370ed3
commit fc6f5e8300
3 changed files with 9 additions and 4 deletions

View File

@@ -7,4 +7,9 @@
### client ### client
- hixu@mailinator.com/frantic@300 - hixu@mailinator.com/frantic@300
### add
- change pagination to 1000 from 20
- remove delivery receipt

View File

@@ -40,7 +40,7 @@ class ClientsTrafficController extends Controller
public function index(){ public function index(){
//dump(session('current_user')); //dump(session('current_user'));
$client_id = session('current_user.org_id'); $client_id = session('current_user.org_id');
$clients_url = "messages/client/$client_id?page=0&size=20&sort=createdAt,desc"; $clients_url = "messages/client/$client_id?page=0&size=1000&sort=createdAt,desc";
$result = ApiCalls::CurlGet($clients_url); $result = ApiCalls::CurlGet($clients_url);
$result_arr = json_decode($result); $result_arr = json_decode($result);
// dump($result_arr); // dump($result_arr);

View File

@@ -157,9 +157,9 @@
{title: "Sender", field: "from", width:150, headerFilter:"input"}, {title: "Sender", field: "from", width:150, headerFilter:"input"},
{title: "Msisdn", field: "to", width:150, headerFilter:"input"}, {title: "Msisdn", field: "to", width:150, headerFilter:"input"},
// {title: "Message", field: "message"}, // {title: "Message", field: "message"},
{title:"Message", field:"message", width:350, formatter:"textarea", headerFilter:"input"}, {title:"Message", field:"message", width:450, formatter:"textarea", headerFilter:"input"},
// {title: "Status", field: "status"}, // {title: "Status", field: "status"},
{title: "Delivery Status", field: "deliveryStatus", width:100, headerFilter:"input", formatter: statusDesign}, // {title: "Delivery Status", field: "deliveryStatus", width:100, headerFilter:"input", formatter: statusDesign},
// {title: "Created At", field: "createdAt"}, // {title: "Created At", field: "createdAt"},
{title:"Date Created ", field:"createdAt", width:200, formatter:"datetime", headerFilter:"input", formatterParams:{ {title:"Date Created ", field:"createdAt", width:200, formatter:"datetime", headerFilter:"input", formatterParams:{
inputFormat: "iso", inputFormat: "iso",