forked from Archives/Athou_commafeed
minimum count as parameter
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user