<?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>search fields empty</title> 
  <pubDate>Fri, 10 Apr 2026 14:48:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/8726</link> 
  <atom:link rel="self" type="application/rss+xml" title="search fields empty" href="https://bugs.horde.org/ticket/8726/rss" /> 
  <description>search fields empty</description> 
 
   
   
  <item> 
   <title>I have horde-webmail with shared address books and this turb</title> 
   <description>I have horde-webmail with shared address books and this turba sources.php:

$cfgSources[&#039;localsql&#039;] = array(
...
        &#039;firstname&#039; =&gt; &#039;object_firstname&#039;,
        &#039;lastname&#039; =&gt; &#039;object_lastname&#039;,
        &#039;middlenames&#039; =&gt; &#039;object_middlenames&#039;,
        &#039;namePrefix&#039; =&gt; &#039;object_nameprefix&#039;,
        &#039;nameSuffix&#039; =&gt; &#039;object_namesuffix&#039;,
        &#039;name&#039; =&gt; array(&#039;fields&#039; =&gt; array(&#039;namePrefix&#039;, &#039;firstname&#039;,
                                          &#039;middlenames&#039;, &#039;lastname&#039;,
                                          &#039;nameSuffix&#039;),
                        &#039;format&#039; =&gt; &#039;%s %s %s %s %s&#039;,
                        &#039;parse&#039; =&gt; array(
                            array(&#039;fields&#039; =&gt; array(&#039;firstname&#039;, &#039;middlenames&#039;,
                                                    &#039;lastname&#039;),
                                  &#039;format&#039; =&gt; &#039;%s %s %s&#039;),
                            array(&#039;fields&#039; =&gt; array(&#039;firstname&#039;, &#039;lastname&#039;),
                                  &#039;format&#039; =&gt; &#039;%s %s&#039;))),
        &#039;email&#039; =&gt; &#039;object_email&#039;,
...
    &#039;search&#039; =&gt; array(
        &#039;name&#039;,
        &#039;email&#039;
    ),
    &#039;strict&#039; =&gt; array(
        &#039;object_id&#039;,
        &#039;owner_id&#039;,
        &#039;object_type&#039;,
    ),
    &#039;export&#039; =&gt; true,
    &#039;browse&#039; =&gt; true,
    &#039;use_shares&#039; =&gt; true,
    &#039;list_name_field&#039; =&gt; &#039;lastname&#039;,
);

In IMP prefs I set
$_prefs[&#039;search_sources&#039;] = array(
    &#039;value&#039; =&gt; &#039;&#039;,
    &#039;hook&#039; =&gt; true,
    &#039;locked&#039; =&gt; false,
    &#039;shared&#039; =&gt; true,
    &#039;type&#039; =&gt; &#039;implicit&#039;);

$_prefs[&#039;search_fields&#039;] = array(
    &#039;value&#039; =&gt;  &#039;&#039;,
    &#039;locked&#039; =&gt; false,
    &#039;shared&#039; =&gt; true,
    &#039;type&#039; =&gt; &#039;implicit&#039;);

It works. From IMP Option --&gt; Address book I see in the right box (seleceted
address books) my shared address books. Autocomplete works with default fields
(name).

But the box:

&quot;Click on one of your selected address books and then select all fields
to search.
To select multiple fields, hold down the Control (PC) or Command (Mac)
while clicking.&quot;

is always empty. No fields shown, same for all address books. I can&#039;t set my
personal &quot;search_fields&quot; values.

Regards</description> 
   <pubDate>Wed, 25 Nov 2009 13:30:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56849</link> 
  </item> 
   
  <item> 
   <title>Are you sure you are clicking one of the *selected* address </title> 
   <description>Are you sure you are clicking one of the *selected* address books (in the right hand column) and not one of the unselected address books? The field list will only show when one of the address books in the selected column are highlighted. </description> 
   <pubDate>Wed, 25 Nov 2009 14:44:50 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56851</link> 
  </item> 
   
  <item> 
   <title>I&#039;m sure. I select an address book on right hand (a &quot;selecte</title> 
   <description>I&#039;m sure. I select an address book on right hand (a &quot;selected&quot; one). And the search field is always empty.</description> 
   <pubDate>Wed, 25 Nov 2009 15:13:53 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56854</link> 
  </item> 
   
  <item> 
   <title>I can&#039;t reproduce this.

Any errors in either your horde l</title> 
   <description>I can&#039;t reproduce this.

Any errors in either your horde log, server log, or javascript console?</description> 
   <pubDate>Wed, 25 Nov 2009 15:23:18 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56856</link> 
  </item> 
   
  <item> 
   <title>I see these httpd errors when I enter on Address books Optio</title> 
   <description>I see these httpd errors when I enter on Address books Option for IMP:

[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, boolean given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  array_keys() expects parameter 1 to be array, null given in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 8, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, string given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, string given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, string given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, string given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  call_user_func_array() expects parameter 2 to be array, string given in /var/www/html/horde-webmail-1.2.4/lib/Horde/Registry.php on line 630, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 74, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 74, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 74, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 74, referer: https://xx/services/prefs.php?app=imp
[Wed Nov 25 16:31:41 2009] [error] [client xx] PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/horde-webmail-1.2.4/imp/templates/prefs/sourceselect.inc on line 74, referer: https://xx/services/prefs.php?app=imp
</description> 
   <pubDate>Wed, 25 Nov 2009 15:41:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56857</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

Fix paramete</title> 
   <description>Changes have been made in CVS for this ticket:

Fix parameter passing to registry#call
Bug: 8726
http://cvs.horde.org/diff.php/imp/templates/prefs/sourceselect.inc?rt=horde&amp;r1=1.21.10.4&amp;r2=1.21.10.5&amp;ty=u</description> 
   <pubDate>Wed, 25 Nov 2009 16:39:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56858</link> 
  </item> 
   
  <item> 
   <title>can you try the changes I just committed to CVS (link to dif</title> 
   <description>can you try the changes I just committed to CVS (link to diff in comment below)?</description> 
   <pubDate>Wed, 25 Nov 2009 16:42:12 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56859</link> 
  </item> 
   
  <item> 
   <title>Moving to IMP queue, issue not specific to groupware bundle.</title> 
   <description>Moving to IMP queue, issue not specific to groupware bundle.</description> 
   <pubDate>Wed, 25 Nov 2009 16:45:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56860</link> 
  </item> 
   
  <item> 
   <title>It works!
Thank you very much</title> 
   <description>It works!
Thank you very much</description> 
   <pubDate>Thu, 26 Nov 2009 07:39:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/8726#t56872</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
