Skip to content

Commit

Permalink
Bug: 13047 Fix pagination of search results.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 3, 2014
1 parent 5f91c38 commit d632750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions turba/lib/View/List.php
Expand Up @@ -213,6 +213,7 @@ public function display()
'page_limit' => $maxpage,
'perpage' => $perpage
));
$pager->preserve('search', $vars->get('search'));
$pagerHeader = 'numPager.inc';
} else {
if (count($this) > $prefs->getValue('perpage')) {
Expand Down
2 changes: 1 addition & 1 deletion turba/search.php
Expand Up @@ -72,7 +72,7 @@
if ($driver) {
$map = $driver->getCriteria();
$do_search = false;
$submitted = Horde_Util::getPost('search');
$submitted = Horde_Util::getFormData('search');
$browsable = !empty($cfgSources[$source]['browse']) && !empty($submitted);
switch ($search_mode) {
case 'advanced':
Expand Down

0 comments on commit d632750

Please sign in to comment.