From dfb72423ed82a293eec85b1b36d9e4c895d7b49c Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 12 Jan 2013 18:05:04 +0100 Subject: o Implementing search on people page. --- src/main/resources/webapp/apps/frontPageApp/frontPageApp.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/resources/webapp/apps/frontPageApp/frontPageApp.js') diff --git a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js index e16d96e..de8a7b6 100755 --- a/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js +++ b/src/main/resources/webapp/apps/frontPageApp/frontPageApp.js @@ -9,6 +9,7 @@ var frontPageApp = angular.module('frontPageApp', ['ngGrid', 'person', 'badge', when('/person/:personUuid', {controller: PersonCtrl, templateUrl: '/apps/frontPageApp/person.html?noCache=' + noCache}). when('/build/', {controller: BuildListCtrl, templateUrl: '/apps/frontPageApp/buildList.html?noCache=' + noCache}). when('/build/:buildUuid', {controller: BuildCtrl, templateUrl: '/apps/frontPageApp/build.html?noCache=' + noCache}); + // job/:jobUuid/build/:buildUuid }); function FrontPageCtrl($scope, Person, Badge) { @@ -78,6 +79,9 @@ function PersonListCtrl($scope, Person, PagingTableService) { $scope.persons = PagingTableService.create($scope, PagingTableService.defaultCallback(Person, {orderBy: "name"}), {count: groupSize * 6, watcher: personsWatcher}); + console.log("$scope.persons.searchText", $scope.persons.searchText); + console.log("$scope.persons.rows", $scope.persons.rows); + $scope.personGroups = []; } -- cgit v1.2.3