Add an index for lookup by account to log entries
Also fixes the query to require one less join
This commit is contained in:
		
							parent
							
								
									d9b65b88e9
								
							
						
					
					
						commit
						0f46230493
					
				
					 4 changed files with 36 additions and 14 deletions
				
			
		|  | @ -13,7 +13,6 @@ angular.module('quay').directive('logsView', function () { | |||
|       'user': '=user', | ||||
|       'makevisible': '=makevisible', | ||||
|       'repository': '=repository', | ||||
|       'performer': '=performer', | ||||
|       'allLogs': '@allLogs' | ||||
|     }, | ||||
|     controller: function($scope, $element, $sce, Restangular, ApiService, TriggerService, | ||||
|  | @ -313,11 +312,6 @@ angular.module('quay').directive('logsView', function () { | |||
| 
 | ||||
|         url += '?starttime=' + encodeURIComponent(getDateString($scope.options.logStartDate)); | ||||
|         url += '&endtime=' + encodeURIComponent(getDateString($scope.options.logEndDate)); | ||||
| 
 | ||||
|         if ($scope.performer) { | ||||
|           url += '&performer=' + encodeURIComponent($scope.performer.name); | ||||
|         } | ||||
| 
 | ||||
|         return url; | ||||
|       }; | ||||
| 
 | ||||
|  | @ -397,7 +391,6 @@ angular.module('quay').directive('logsView', function () { | |||
|       $scope.$watch('user', update); | ||||
|       $scope.$watch('repository', update); | ||||
|       $scope.$watch('makevisible', update); | ||||
|       $scope.$watch('performer', update); | ||||
| 
 | ||||
|       $scope.$watch('options.logStartDate', update); | ||||
|       $scope.$watch('options.logEndDate', update); | ||||
|  |  | |||
		Reference in a new issue