| Summary | Searches that result in more than one page | 
| Queue | Turba | 
| Queue Version | 2.1.4 | 
| Type | Bug | 
| State | Resolved | 
| Priority | 2. Medium | 
| Owners | jan (at) horde (dot) org | 
| Requester | boutilpj (at) ednet (dot) ns (dot) ca | 
| Created | 03/20/2007 (6804 days ago) | 
| Due | |
| Updated | 03/29/2007 (6795 days ago) | 
| Assigned | |
| Resolved | 03/29/2007 (6795 days ago) | 
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No | 
Assigned to Jan Schneider
State ⇒ Resolved
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Searches that result in more than one page
Queue ⇒ Turba
the URLs for the extra pages. For example:
http://staff.ednet.ns.ca/turba/search.php?criteria=email&val=mac%25&page=7
instead of:
http://staff.ednet.ns.ca/turba/search.php?source=globalsql&criteria=email&val=mac%25&page=7
This problem can be traced to the changes made to
turba/lib/ListView.php
(http://cvs.horde.org/diff.php?r1=1.17.10.12&r2=1.17.10.13&f=turba%2Flib%2FListView.php) specifically line 212/213 , the removal of "'source' =>
$source,"
Adding "'source' => $default_source," fixes the problem. Is this a bug
or do I have something mis-configured?
$params = array_merge($crit, array(
'source' => $default_source,
'criteria' => Util::getFormData('criteria'),
'val' => Util::getFormData('val')
));