Merge pull request #111 from matiu/feature/small-detauls
show tx by reverse order in addr
This commit is contained in:
commit
181c318f51
|
@ -60,7 +60,7 @@ function spec() {
|
||||||
// TODO TXout!
|
// TODO TXout!
|
||||||
//T
|
//T
|
||||||
function (cb) {
|
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);
|
if (err) return cb(err);
|
||||||
|
|
||||||
txItems.forEach(function(txItem){
|
txItems.forEach(function(txItem){
|
||||||
|
|
|
@ -36,7 +36,7 @@
|
||||||
|
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<div data-ng-controller="transactionsController" data-ng-init="load('address')">
|
<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 data-ng-include src="'/views/transaction/list.html'" when-scrolled="loadMore()"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue