mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
fix a lot a errors probably due to migration
This commit is contained in:
parent
afb899c003
commit
ae42484a60
37 changed files with 561 additions and 581 deletions
|
@ -39,7 +39,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('received', [], '', false, $limit, $offset);
|
||||
return $this->_select('received', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -178,8 +178,8 @@ namespace models;
|
|||
{
|
||||
$query = '
|
||||
SELECT MAX(at) as at, number
|
||||
FROM (SELECT at, destination as number FROM sendeds UNION (SELECT at, origin as number FROM received)) as discussions
|
||||
GROUP BY origin
|
||||
FROM (SELECT at, destination as number FROM sended UNION (SELECT at, origin as number FROM received)) as discussions
|
||||
GROUP BY number
|
||||
ORDER BY at DESC
|
||||
';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue