mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-05-06 07:35:50 +02:00
feat(trances): system trances log pagination
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
*/
|
||||
vm.figureOutItemsToDisplay = function (callback) {
|
||||
vm.doSearch(vm.currentPage, function (items) {
|
||||
console.log(items);
|
||||
vm.filterLength = items.total;
|
||||
vm.pagedItems = items.rows;
|
||||
|
||||
@@ -67,8 +66,6 @@
|
||||
limit: vm.itemsPerPage
|
||||
});
|
||||
|
||||
console.log(fs);
|
||||
|
||||
fs.$search(function (res) {
|
||||
vm.isLoading = false;
|
||||
callback(res);
|
||||
@@ -101,7 +98,7 @@
|
||||
angular.forEach(keysA, function (k) {
|
||||
regex = new RegExp(k, 'ig');
|
||||
t = t.replace(regex, function (match) {
|
||||
return '<span class="keys">' + match + '</span>'
|
||||
return '<span class="keys">' + match + '</span>';
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user