<commit_before>﻿angular.module("application").controller("ReportController", [
    "$scope", "$rootScope","$window","$state",
    function ($scope, $rootScope,$window,$state) {

        $scope.container = {};


        $scope.createReportClick = function () {
            //$window.open('/eksport/index?Employee=' + $scope.container.employeeFilter + '&manr=' + $scope.container.MANrFilter + '&from= ' + $scope.container.reportFromDateString + '&to=' + $scope.container.reportToDateString, '_blank');
            //$window.open('app/admin/html/report/DocumentView.html');

            var url = $state.href('document', { "Employee": 'parametre' });

$scope.$broadcast('createReportClicked');

            $window.open(url + '?Employee=' + $scope.container.employeeFilter + '&manr=' + $scope.container.MANrFilter + '&from= ' + $scope.container.reportFromDateString + '&to=' + $scope.container.reportToDateString, '_blank');

            //$window.open('/Document');
        }


    }
]);
<commit_msg>URL fix<commit_after>﻿angular.module("application").controller("ReportController", [
    "$scope", "$rootScope","$window","$state",
    function ($scope, $rootScope,$window,$state) {

        $scope.container = {};


        $scope.createReportClick = function () {
            //$window.open('/eksport/index?Employee=' + $scope.container.employeeFilter + '&manr=' + $scope.container.MANrFilter + '&from= ' + $scope.container.reportFromDateString + '&to=' + $scope.container.reportToDateString, '_blank');
            //$window.open('app/admin/html/report/DocumentView.html');

            var url = $state.href('document');

            $scope.$broadcast('createReportClicked');

            $window.open(url + '?Employee=' + $scope.container.employeeFilter + '&manr=' + $scope.container.MANrFilter + '&from= ' + $scope.container.reportFromDateString + '&to=' + $scope.container.reportToDateString, '_blank');

            //$window.open('/Document');
        }


    }
]);

{'fraction_non_alphanumeric': 0.1956411556006082, 'fraction_numerical': 0.0, 'mean_word_length': 3.5694444444444446, 'pattern_counts': {'":': 1, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '828452', 'n_tokens_mistral': 598, 'n_tokens_neox': 573, 'n_words': 71}