<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/feed-rss.xsl" type="text/xsl"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
  <title>Turba Browse is very inefficient</title> 
  <pubDate>Fri, 10 Apr 2026 12:09:57 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11064</link> 
  <atom:link rel="self" type="application/rss+xml" title="Turba Browse is very inefficient" href="https://bugs.horde.org/ticket/11064/rss" /> 
  <description>Turba Browse is very inefficient</description> 
 
   
   
  <item> 
   <title>Browsing in Turba (at least via SQL driver) will query ALL c</title> 
   <description>Browsing in Turba (at least via SQL driver) will query ALL contacts on every page, regardless if you are filtering - for example, by a letter when using the alphabet pager.  It is the View code that is doing the filtering.  This is incorrect behavior - the query should be filtered at the DB level instead - it reduces overhead and SQL is precisely designed for this kind of filtering, so it is the proper tool for the job.</description> 
   <pubDate>Fri, 09 Mar 2012 20:01:23 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11064#t70657</link> 
  </item> 
   
  <item> 
   <title>&gt; Browsing in Turba (at least via SQL driver) will query ALL</title> 
   <description>&gt; Browsing in Turba (at least via SQL driver) will query ALL contacts 
&gt; on every page, regardless if you are filtering - for example, by a 
&gt; letter when using the alphabet pager.  It is the View code that is 
&gt; doing the filtering.  This is incorrect behavior - the query should 
&gt; be filtered at the DB level instead - it reduces overhead and SQL is 
&gt; precisely designed for this kind of filtering, so it is the proper 
&gt; tool for the job.

Driver-&gt;search should support criteria like limit(n) and %like% or startwith(&#039;a&#039;)
This probably applies to more backends.</description> 
   <pubDate>Fri, 09 Mar 2012 20:09:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11064#t70658</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Browsing in Turba (at least via SQL driver) will query AL</title> 
   <description>&gt;&gt; Browsing in Turba (at least via SQL driver) will query ALL contacts
&gt;&gt; on every page, regardless if you are filtering - for example, by a
&gt;&gt; letter when using the alphabet pager.  It is the View code that is
&gt;&gt; doing the filtering.  This is incorrect behavior - the query should
&gt;&gt; be filtered at the DB level instead - it reduces overhead and SQL is
&gt;&gt; precisely designed for this kind of filtering, so it is the proper
&gt;&gt; tool for the job.
&gt;
&gt; Driver-&gt;search should support criteria like limit(n) and %like% or 
&gt; startwith(&#039;a&#039;)
&gt; This probably applies to more backends.

The problem, at least as I can tell, is that the way the Turba Views are designed.  The Browse View is passed a search result, and it is only in that view that the filter (from URL parameter data) is determined.

In other words, the filter can&#039;t be applied at the time the search is done based on the current architecture.</description> 
   <pubDate>Fri, 09 Mar 2012 20:20:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11064#t70660</link> 
  </item> 
   
  <item> 
   <title>The actual problem is that 1) name fields are usually compos</title> 
   <description>The actual problem is that 1) name fields are usually composite fields and 2) there is the user preference that defines the name format for sorting. For the filtering to reliably work, this would require composing the fields on the database level. I doubt this is going to be possible in a portable way.</description> 
   <pubDate>Thu, 05 Apr 2012 17:01:24 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11064#t71094</link> 
  </item> 
   
  <item> 
   <title>Going to reject, since Jan says this is not going to be poss</title> 
   <description>Going to reject, since Jan says this is not going to be possible with current code.</description> 
   <pubDate>Wed, 27 Jun 2012 21:07:52 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11064#t71663</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
