Improve dashboard rendering speed by using ajax for graphs. Improve perfs by using more index on query. Add function to find invalid numbers and export as csv

This commit is contained in:
osaajani 2024-10-28 21:35:01 +01:00
parent 52c849e043
commit 2be8242d5e
16 changed files with 494 additions and 56 deletions

View file

@ -253,9 +253,9 @@ use Exception;
*
* @return array
*/
public function get_discussions_for_user(int $id_user)
public function get_discussions_for_user(int $id_user, ?int $nb_entry = null, ?int $page = null)
{
return $this->get_model()->get_discussions_for_user($id_user);
return $this->get_model()->get_discussions_for_user($id_user, $nb_entry, $page);
}
/**