6.0.0-beta1
7/4/25

[#5137] Searches that result in more than one page
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 (6681 days ago)
Due
Updated 03/29/2007 (6672 days ago)
Assigned
Resolved 03/29/2007 (6672 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/29/2007 09:59:31 PM Jan Schneider Comment #2
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
03/20/2007 01:44:41 PM boutilpj (at) ednet (dot) ns (dot) ca Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Searches that result in more than one page
Queue ⇒ Turba
Reply to this comment
Searches that result in more than one page do not have the source in 
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')

             ));


Saved Queries