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
20 20
		JViewLegacy:: loadHelper('PiwikHelper');
21 21
		PiwikHelper :: logPageView('viewPerson', 'personId=' . urlencode($this -> personId) . '&locale=' . urlencode($locale));
22 22
		$this -> person = $model -> getPerson($this -> personId, $locale);
23
		$this -> publications = $model -> browsePublications(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId);
24
		$this -> datasets = $model -> browseDatasets(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId);
23
		$this -> publications = $model -> browsePublications(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId, FALSE);
24
		$this -> datasets = $model -> browseDatasets(NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, self :: PAGE, self :: SIZE, $locale, NULL, $this -> personId, FALSE);
25 25
		if (count($errors = $this -> get('Errors')) > 0) {
26 26
			JLog :: add('Error viewing person: ' . implode("\n", $errors), JLog :: ERROR, self :: LOG);
27 27
			return FALSE;

Also available in: Unified diff