[Tickets #5137] Searches that result in more than one page

bugs at bugs.horde.org bugs at bugs.horde.org
Tue Mar 20 13:44:41 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5137
-----------------------------------------------------------------------
 Ticket             | 5137
 Created By         | boutilpj at ednet.ns.ca
 Summary            | Searches that result in more than one page
 Queue              | Turba
 Version            | 2.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Owners             | 
-----------------------------------------------------------------------


boutilpj at ednet.ns.ca (2007-03-20 06:44) wrote:

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 bugs mailing list