projects
/
roll.divinelegy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a8ab59
)
Bugfix
author
Cameron Ball
<cameron@getapproved.com.au>
Wed, 20 May 2015 04:53:12 +0000
(12:53 +0800)
committer
Cameron Ball
<cameron@getapproved.com.au>
Wed, 20 May 2015 04:53:12 +0000
(12:53 +0800)
app/pages/packs/packs.js
patch
|
blob
|
history
diff --git
a/app/pages/packs/packs.js
b/app/pages/packs/packs.js
index
6347578
..
bfd7938
100644
(file)
--- a/
app/pages/packs/packs.js
+++ b/
app/pages/packs/packs.js
@@
-129,7
+129,8
@@
angular.module("DivinElegy.pages.packs", ["DivinElegy.components.simfiles","Divi
var applyFilters = function()
{
- $scope.filteredPackList = filterFilter(filterFilter($scope.packList, packTitleFilter), simfileFilter).sort(getSortFunction($scope.sortOrder, $scope.reverseSort));
+ $scope.filteredPackList = filterFilter(filterFilter($scope.packList, packTitleFilter), simfileFilter);
+ $scope.filteredPackList && $scope.filteredPackList.sort(getSortFunction($scope.sortOrder, $scope.reverseSort));
};
var getSortFunction = function(order, reverse)