Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

Commit

Permalink
Adding in directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vertein committed Jan 27, 2016
1 parent 1d5d07d commit 3980c19
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion angularjs-portal-home/src/main/webapp/js/app-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ define(['angular'], function(angular) {
},
'notificationsURL' : '/web/staticFeeds/notifications.json',
'groupURL' : '/portal/api/groups',
'kvURL' : '/storage/',
'kvURL' : '/storage',
'googleSearchURL' : '/web/api/wiscedusearch?v=1.0&rsz=10&start=0&cx=001601028090761970182:2g0iwqsnk2m',
'wiscDirectorySearchURL' : '/web/api/wiscdirectory'
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ define(['angular', 'portal/search/controllers', 'my-app/marketplace/controllers'
$scope.myuwResults = [];
$scope.googleResults = [];
$scope.wiscDirectoryResults = [];
$scope.wiscDirectoryResultCount = 0;
$scope.googleResultsEstimatedCount = 0;
$scope.totalCount = 0;
$scope.searchResultLimit = 20;
Expand All @@ -90,6 +91,9 @@ define(['angular', 'portal/search/controllers', 'my-app/marketplace/controllers'
if($scope.myuwFilteredResults){
$scope.totalCount+= parseInt($scope.myuwFilteredResults.length);
}
if($scope.wiscDirectoryResultCount){
$scope.totalCount+= parseInt($scope.wiscDirectoryResultCount);
}
});
};
init();
Expand Down

0 comments on commit 3980c19

Please sign in to comment.