Revision 39600
Added by Argiro Kokogiannaki over 8 years ago
view.html.php | ||
---|---|---|
32 | 32 |
else { |
33 | 33 |
JViewLegacy:: loadHelper('PiwikHelper'); |
34 | 34 |
PiwikHelper :: logPageView('searchPeople', 'keyword=' . urlencode($this -> keyword) . '&country=' . urlencode($country) . '&page=' . urlencode($this -> page) . '&size=' . urlencode($this -> size) . '&locale=' . urlencode($locale)); |
35 |
$this -> result = $model -> searchPeople($this -> keyword, $country, $this -> page, $this -> size, $locale); |
|
35 |
$this -> result = $model -> searchPeople($this -> keyword, $country, $this -> page, $this -> size, $locale,TRUE);
|
|
36 | 36 |
$this -> totalPages = ($this -> result == NULL) ? NULL : ceil($this -> result -> totalPeople / $this -> size); |
37 | 37 |
if ($this -> totalPages == NULL) |
38 | 38 |
$this -> totalPages = 1; |
Also available in: Unified diff
add a new argument for search/browse methods - request statistics only where they are necessary