feat: Add group by button to equipment page

Closes #7636
Closes #7651

This commit creates a new button on the equipment page that allows the user to group their equipment type (body location) instead of simply by class.
This commit is contained in:
Husman
2016-06-11 14:16:10 -07:00
committed by Blade Barringer
parent a58bf4ee2b
commit 9b12d46741
7 changed files with 62 additions and 11 deletions

View File

@@ -15,6 +15,10 @@ habitrpg.controller('SortableInventoryController', ['$scope',
}
};
$scope.setGrouping = function (grouping) {
$scope.groupingChoice = grouping;
};
$scope.orderChoice = 'set';
$scope.setOrder($scope.orderChoice);
}]);