Skip to content

Commit

Permalink
Merge pull request #87 from RoundingWell/master
Browse files Browse the repository at this point in the history
Master into Develop for Release-20190919
  • Loading branch information
paulfalgout committed Sep 23, 2019
2 parents 5a56198 + c021ede commit 4aadfe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/js/views/patients/list/patients-all_views.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const ItemView = View.extend({
`,
templateContext() {
return {
groups: _.map(this.model.getGroups().models, 'attributes'),
groups: _.sortBy(_.map(this.model.getGroups().models, 'attributes'), 'name'),
};
},
triggers: {
Expand Down
2 changes: 1 addition & 1 deletion test/integration/patients/list/patients-all.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ context('patient all list', function() {
.find('.table-list__item')
.first()
.should('contain', 'Aaron Aaronson')
.should('contain', 'Group One')
.should('contain', 'Another Group, Group One')
.click();

cy
Expand Down

0 comments on commit 4aadfe5

Please sign in to comment.