Changes animal attribute that A-Z sort is applied to. (#9241)

This commit is contained in:
William Perry 2017-11-15 11:31:10 -05:00 committed by Matteo Pagliazzi
parent f15a27a7f1
commit 52064f6b2a

View file

@ -780,7 +780,7 @@
// 2. Sort
switch (sort) {
case 'AZ':
animals = _sortBy(animals, ['name']);
animals = _sortBy(animals, ['eggName']);
break;
case 'sortByColor':