Arkadius Rusnica,
File to edit: ow_plugins/mailbox/bol/message_dao.php
Function to edit:
public function findListByConversationId( $conversationId )
{
$example = new OW_Example();
$example->andFieldEqual('conversationId', (int) $conversationId);
$example->setOrder('timeStamp');
return $this->findListByExample($example);
}
Modified code ( in bold):
public function findListByConversationId( $conversationId )
{
$example = new OW_Example();
$example->andFieldEqual('conversationId', (int) $conversationId);
$example->setOrder('timeStamp
desc');
return $this->findListByExample($example);
}
Please note that this modification will be lost when you update the "Mailbox" plugin in future.
Modification was tested only on 1.6.0 version of Oxwall.