...
 
Commits (2)
......@@ -3,6 +3,5 @@
<component name="SqlDialectMappings">
<file url="file://$PROJECT_DIR$/SQL/init_booncoin.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/SQL/init_burstcoin.sql" dialect="MySQL" />
<file url="file://$PROJECT_DIR$/wallet_additions.sql" dialect="MariaDB" />
</component>
</project>
\ No newline at end of file
......@@ -175,8 +175,8 @@ class TransactionController extends AbstractController
LEFT JOIN mosr ON (mosr.db_id = t.db_id)
WHERE CAST(t.sender_id AS UNSIGNED) = ? AND t.type = 0 AND t.subtype = 2
) as x
LEFT JOIN ec_account s ON (x.sender_id = s.id)
LEFT JOIN ec_account r ON (x.recipient_id = r.id)
LEFT JOIN ec_account s ON (CAST(x.sender_id AS SIGNED) = s.id)
LEFT JOIN ec_account r ON (CAST(x.recipient_id AS SIGNED) = r.id)
WHERE x.recipient_id IS NOT NULL
ORDER BY x.unixtime DESC -- TransactionController/TransactionsByAccountId";
......