show tx by reverse order in addr
This commit is contained in:
parent
9579fc08ad
commit
ee275dde12
|
@ -60,7 +60,7 @@ function spec() {
|
|||
// TODO TXout!
|
||||
//T
|
||||
function (cb) {
|
||||
TransactionItem.find({addr:that.addrStr}).sort({ts:1}).exec(function(err,txItems){
|
||||
TransactionItem.find({addr:that.addrStr}).sort({ts:-1}).exec(function(err,txItems){
|
||||
if (err) return cb(err);
|
||||
|
||||
txItems.forEach(function(txItem){
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
<div class="col-md-9">
|
||||
<div data-ng-controller="transactionsController" data-ng-init="load('address')">
|
||||
<h2>Transactions <small>Transactions contained within this block</small></h2>
|
||||
<h2>Transactions <small>Transactions for this address</small></h2>
|
||||
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue