Skip to content

Commit 181c318

Browse files
committed
Merge pull request bitpay#111 from matiu/feature/small-detauls
show tx by reverse order in addr
2 parents 9579fc0 + ee275dd commit 181c318

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/models/Address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function spec() {
6060
// TODO TXout!
6161
//T
6262
function (cb) {
63-
TransactionItem.find({addr:that.addrStr}).sort({ts:1}).exec(function(err,txItems){
63+
TransactionItem.find({addr:that.addrStr}).sort({ts:-1}).exec(function(err,txItems){
6464
if (err) return cb(err);
6565

6666
txItems.forEach(function(txItem){

public/views/address.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h4>Summary</h4>
3636

3737
<div class="col-md-9">
3838
<div data-ng-controller="transactionsController" data-ng-init="load('address')">
39-
<h2>Transactions <small>Transactions contained within this block</small></h2>
39+
<h2>Transactions <small>Transactions for this address</small></h2>
4040
<div data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
4141
</div>
4242
</div>

0 commit comments

Comments
 (0)