fossasia/loklak_webclient

View on GitHub
app/js/directives/globalSearchForm.js

Summary

Maintainability
A
3 hrs
Test Coverage

Function controller has 78 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        controller: function($scope, $element, $attrs) {
            $rootScope.root.haveSearchSuggestion = false;
            $rootScope.root.lastSearchTimeStamp = new Date();
            $rootScope.root.selectedTermIndex = -1;
            $rootScope.root.searchSuggestions = [];
Severity: Major
Found in app/js/directives/globalSearchForm.js - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status