summaryrefslogtreecommitdiffstats
path: root/js/components/sortBy/sortBy_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/sortBy/sortBy_controller.js')
-rw-r--r--js/components/sortBy/sortBy_controller.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/js/components/sortBy/sortBy_controller.js b/js/components/sortBy/sortBy_controller.js
deleted file mode 100644
index 7ccd4c74..00000000
--- a/js/components/sortBy/sortBy_controller.js
+++ /dev/null
@@ -1,16 +0,0 @@
-angular.module('contactsApp')
-.controller('sortbyCtrl', function(SortByService) {
- var ctrl = this;
-
- var sortText = t('contacts', 'Sort by');
- ctrl.sortText = sortText;
-
- var sortList = SortByService.getSortByList();
- ctrl.sortList = sortList;
-
- ctrl.defaultOrder = SortByService.getSortByKey();
-
- ctrl.updateSortBy = function() {
- SortByService.setSortBy(ctrl.defaultOrder);
- };
-});