Skip to content

Commit

Permalink
Fix sort options
Browse files Browse the repository at this point in the history
  • Loading branch information
Rupert Bedford committed May 23, 2016
1 parent 80c67d6 commit ea37f47
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/patients/cohorts/cohorts-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</form>
</div>

<div ng-if="!viewing && !editing" list-helper="items as page" sort-by="organisation.name">
<div ng-if="!viewing && !editing" list-helper="items as page" list-helper-options="{sortBy: 'group.name'}">
<p>
<span crud-create-button action="create()"></span>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/patients/hospitals/hospitals-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</form>
</div>

<div ng-if="!viewing && !editing" list-helper="items as page" sort-by="organisation.name">
<div ng-if="!viewing && !editing" list-helper="items as page" list-helper-options="{sortBy: 'group.name'}">
<p>
<span crud-create-button action="create()"></span>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/patients/numbers/numbers-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
</form>
</div>

<div ng-if="!viewing && !editing" list-helper="items as page" sort-by="id" reverse="true">
<div ng-if="!viewing && !editing" list-helper="items as page" list-helper-options="{sortBy: 'id', reverse: true}">
<p>
<span crud-create-button action="create()"></span>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/patients/pathology/pathology-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@
</form>
</div>

<div ng-if="!viewing && !editing" list-helper="items as page" sort-by="date" reverse="true">
<div ng-if="!viewing && !editing" list-helper="items as page" list-helper-options="{sortBy: 'date', reverse: true}">
<p>
<span crud-create-button action="create()"></span>
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/app/users/groups/groups-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</form>
</div>

<div ng-if="!viewing && !editing" list-helper="items as page" sort-by="group.shortName">
<div ng-if="!viewing && !editing" list-helper="items as page" list-helper-options="{sortBy: 'group.shortName'}">
<p>
<span crud-create-button action="create()"></span>
</p>
Expand Down

0 comments on commit ea37f47

Please sign in to comment.