Commit 7d526c8ee023efccfdbfd47f7cc6d586028436da

Authored by Kuldeep Arora
1 parent a9b337557b
Exists in master

orderby

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/partials/fuelOrders/fuelOrders.html
... ... @@ -91,7 +91,7 @@
91 91 <div class="tab-content customer-table" style="margin:0px">
92 92 <div class="tab-pane active" id="companyView">
93 93 <table ng-table="displayFuelOrderList" class="table table-striped table-condensed" show-filter="true">
94   - <tr ng-repeat="row in $data | filter:searchText" style="cursor: pointer;" >
  94 + <tr ng-repeat="row in $data | orderBy : '-fuelingDate' | filter:searchText" style="cursor: pointer;" >
95 95 <td data-title="'Company Name'" filter="{companyName: 'text'}" sortable="'companyName'" ng-click="editTableRow(row)">
96 96 {{row.companyName}}
97 97 </td>
... ...