Merge pull request #111 from matiu/feature/small-detauls

show tx by reverse order in addr
This commit is contained in:
Matias Alejo Garcia 2014-01-21 11:01:00 -08:00
commit 181c318f51
2 changed files with 2 additions and 2 deletions

View File

@ -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){

View File

@ -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>