interface/src/app/gene/searchMany/searchMany.js
Function controller
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($scope, SelectedGenesFactory) {
$scope.currentPage = 1;
$scope.itemsPerPage = 10;
$scope.totalResults = 0;
$scope.maxSize = 10;
Function controller
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function($scope, SelectedGenesFactory, CommonGeneFuncts) {
$scope.buttonPage = 1;
$scope.queryResults = $scope.searchResults[$scope.query];
var selectedGenes = SelectedGenesFactory.returnGenes();
Function controller
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
controller: ['$scope', 'Gene', function($scope, Gene) {
$scope.errors = null;
$scope.searchGenes = function() {
// Gene.search will query for all of the search terms in qparams,