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
46 46
		$this -> size = JRequest :: getUInt('size', self :: DEFAULT_SIZE);
47 47
		JViewLegacy :: loadHelper('PiwikHelper');
48 48
		PiwikHelper :: logPageView('browseDatasources', 'type=' . urlencode($type) . '&language=' . urlencode($language) . '&content=' . urlencode($content) . '&compatibility=' . urlencode($compatibility) . '&page=' . urlencode($this -> page) . '&size=' . urlencode($this -> size) . '&locale=' . urlencode($locale));
49
		$this -> result = $model -> browseDatasources($type, $language, $content, $compatibility, $this -> page, $this -> size, $locale);
49
		$this -> result = $model -> browseDatasources($type, $language, $content, $compatibility, $this -> page, $this -> size, $locale, TRUE);
50 50
		$this -> totalPages = ($this -> result == NULL) ? NULL : ceil($this -> result -> totalDatasources / $this -> size);
51 51
		if ($this -> totalPages == NULL)
52 52
			$this -> totalPages = 1;

Also available in: Unified diff