minimum count as parameter

This commit is contained in:
Athou
2013-07-08 20:38:06 +02:00
parent bd047efcd2
commit 132c1b0aaf
4 changed files with 9 additions and 6 deletions

View File

@@ -1210,11 +1210,13 @@ module.controller('ManageDuplicateFeedsCtrl', [
$scope.limit = 10;
$scope.page = 0;
$scope.minCount = 1;
$scope.mergeData = {};
$scope.refreshData = function() {
AdminCleanupService.findDuplicateFeeds({
limit : $scope.limit,
page : $scope.page
page : $scope.page,
minCount: $scope.minCount
}, function(data) {
$scope.counts = data;
});

View File

@@ -2,6 +2,7 @@
Limit <input type="number" ng-model="limit" />
Page <input type="number" ng-model="page" />
Min. count <input type="number" ng-model="minCount" />
<input type="button" class="btn" ng-click="refreshData()" value="Refresh" />
<table class="table table-condensed table-hover" ui-if="counts">
<thead>