public synchronized Assurance[] getReceivedAssurances() {
if (receivedAssurances == null) {
- try (GigiPreparedStatement query = new GigiPreparedStatement("SELECT * FROM `notary` INNER JOIN `names` ON `names`.`id` = `notary`.`to` WHERE `names`.`uid`=? AND `notary`.`deleted` IS NULL")) {
+ try (GigiPreparedStatement query = new GigiPreparedStatement("SELECT * FROM `notary` INNER JOIN `names` ON `names`.`id` = `notary`.`to` WHERE `names`.`uid`=? AND `notary`.`deleted` IS NULL ORDER BY `when` DESC")) {
query.setInt(1, getId());
GigiResultSet res = query.executeQuery();
public synchronized Assurance[] getMadeAssurances() {
if (madeAssurances == null) {
- try (GigiPreparedStatement query = new GigiPreparedStatement("SELECT * FROM notary WHERE `from`=? AND deleted is NULL")) {
+ try (GigiPreparedStatement query = new GigiPreparedStatement("SELECT * FROM notary WHERE `from`=? AND deleted is NULL ORDER BY `when` DESC")) {
query.setInt(1, getId());
try (GigiResultSet res = query.executeQuery()) {
+<table>
+ <tr>
+ <td><?=_Verification points?>:</td>
+ <td><?=$assP?></td>
+ <td>(<?=_Sum of most recently issued points per RA-Agent?>)</td>
+ </tr>
+<? if($expP) { ?>
+ <tr>
+ <td><?=_Experience points?>:</td>
+ <td><?=$expP?></td>
+ <td>(<?=_Based on number of applicants verified?>)</td>
+ </tr>
+ <tr>
+ <td><?=_Max points to issue?>:
+ <td><?=$maxP?></td>
+ <td></td>
+ </tr>
+<? } ?>
+<table>
<h2><?=_Verification Points You Received?></h2>
<?=$pointlist?>
<h2><?=_Verification Points You Issued?></h2>
<?=$madelist?>
-
-<?=_Verification points?>: <?=$assP?><br/>
-<? if($expP) { ?>
-<?=_Experience points?>: <?=$expP?><br/>
-<?=_Max points to issue?>: <?=$maxP?><br/>
-<? } ?>