PageSourceSearch

https://adanato.org.tr/js/icerikler/faaliyet-raporlari.js?ver=20250317

js adanato.org.tr collected 2026-10-01 16:29:06 UTC 1,936 bytes, 65 lines download raw bytes

1app.controller('faaliyetRaporlariController', ['$scope', '$location', 'pageService', 'activityReportService', 'tools',
2    function ($scope, $location, pageService, activityReportService, tools) {
3
4
5        pageService.setParameters($scope.siteInfo.ID, $scope.siteInfo.LangCode);
6
7        pageService.getPageInfo($location.url(), false)
8            .then(function (info) {
9                $scope.info = info;
10                tools.scrollToTop();
11            });
12
13
14
15        var service = activityReportService;
16
17        $scope.searchText = "";
18
19        service.setParameters($scope.siteInfo.ID, $scope.siteInfo.LangCode);
20
21        $scope.options = service.getOptions();
22
23        $scope.archiveRange = service.getArchiveRange();
24
25        $scope.pageChanged = function (e) {
26            $scope.contentInfo.pageContents = service.getPageContents(e.addedItems[0].pageNumber);
27            tools.scrollToTop();
28        };
29
30
31        service.getActiveContentsInfo()
32            .then(function (contentInfo) {
33
34                $scope.contentInfo = contentInfo;
35                $scope.$apply();
36                service.resetPager();
37
38                tools.scrollToTop();
39            });
40
41
42        $scope.searchByYear = function (yil) {
43            service.getYearContentsInfo(yil)
44                .then(function (contentInfo) {
45                    $scope.contentInfo = contentInfo;
46                    $scope.$apply();
47
48                    tools.scrollToTop();
49                });
50        };
51
52        $scope.searchByText = function (e) {
53            service.getSearchContentsInfo($scope.searchText)
54                .then(function (contentInfo) {
55
56                    $scope.contentInfo = contentInfo;
57                    
58                    $scope.$apply();
59                    service.resetPager();
60
61                    tools.scrollToTop();
62                });
63        };
64
65    }]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.