[turba] Searches that result in more than one page

Patrick Boutilier boutilpj at ednet.ns.ca
Sat Mar 17 01:49:12 UTC 2007


Horde 3.1.4
Turba 2.1.4

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')
             ));


More information about the turba mailing list