Project

General

Profile

« Previous | Next » 

Revision 39600

add a new argument for search/browse methods - request statistics only where they are necessary

View differences:

view.html.php
90 90
		$this -> author = JRequest :: getString('author');
91 91
		JViewLegacy :: loadHelper('PiwikHelper');
92 92
		PiwikHelper :: logPageView('browsePublications', 'type=' . urlencode($type) . '&language=' . urlencode($language) . '&funder=' . urlencode($funder) . '&fundingStream=' . urlencode($fundingStream)  . '&scientificArea=' . urlencode($fundingStreamLevel1) . '&year=' . urlencode($year) . '&accessMode=' . urlencode($accessMode) . '&datasource=' . urlencode($community) . '&community=' . urlencode($datasource) . '&page=' . urlencode($this -> page) . '&size=' . urlencode($this -> size) . '&locale=' . urlencode($locale) . '&project=' . urlencode($this -> project) . '&author=' . urlencode($this -> author));
93
 		$this -> result = $model -> browsePublications($type, $language, $funder, $fundingStream, $fundingStreamLevel1, $fundingStreamLevel2, $year, $accessMode, $datasource, $community, $this -> page, $this -> size, $locale, $this -> project, $this -> author); 		                
93
 		$this -> result = $model -> browsePublications($type, $language, $funder, $fundingStream, $fundingStreamLevel1, $fundingStreamLevel2, $year, $accessMode, $datasource, $community, $this -> page, $this -> size, $locale, $this -> project, $this -> author,TRUE); 		                
94 94
                $this -> totalPages = ($this -> result == NULL) ? NULL : ceil($this -> result -> totalPublications / $this -> size);
95 95
                if ($this -> totalPages == NULL)
96 96
			$this -> totalPages = 1;

Also available in: Unified diff