Search form returned to spark

HI all,

I’ve changed my searchFields to allow me to search on first and last names from my AD, this is 90% working, the problem is that spark (and Pidgin) are not displaying field descriptions for First and Last names.

I’ve done a packet debug that may show the problem, there is no field label for the search fields that I’m having a problem with.

Anyone got any idea on this ?

Thanks

Maurice

<iq id=“7KdPT-28” to=“mwalsh@ukim/spark” from=“search.ukim” type=“result”>

<query xmlns=“jabber:iq:search”>

<x xmlns=“jabber:x:data” type=“result”>

<reported>

<field label=“JID” var=“jid”/>

<field label=“Username” var=“Username”/>

<field label="" var=“First name”/>

<field label="" var=“Surname”/>

<field label=“Name” var=“Name”/>

<field label=“Email” var=“Email”/>

</reported>

<item>

<field var=“jid”>

<value>mwalsh@ukim</value>

</field>

<field var=“Username”>

<value>mwalsh</value>

</field>

<field var=“Name”>

<value>Walsh, Maurice</value>

</field>

<field var=“Email”>

      &lt;value&gt;MWalsh@DOMAIN.COM&lt;/value&gt;

</field>

</item>

<item>

<field var=“jid”>

<value>mtesthounslow@ukim</value>

</field>

<field var=“Username”>

<value>mtesthounslow</value>

</field>

<field var=“Name”>

<value>Maurice Test-Hounslow</value>

</field>

<field var=“Email”>

      &lt;value&gt;mtesthounslow@DOMAIN.COM&lt;/value&gt;

</field>

</item>

<field var=“FORM_TYPE” type=“hidden”/>

</x>

</query>

</iq>

Hi All,

I’m getting there, I’ve now got the form to display Surname and Firstname by adding

advance.user.search.firstname=Firstname

advance.user.search.surname=Surname

To plugins/search/i18n/search_i18n.properties

I can now search on the first and surname and the results are correct, but I still don’t get the surname and firstname columns filled in. I think this is becuase the results don’t include these.

Does anyone know how I can change what’s returned by the results.

Maurice

<iq id=“Tr0cU-55” to=“mwalsh@ukim/Desktop” from=“search.ukim” type=“result”>

<query xmlns=“jabber:iq:search”>

<x xmlns=“jabber:x:data” type=“result”>

<reported>

<field label=“JID” var=“jid”/>

<field label=“Username” var=“Username”/>

<field label=“Surname” var=“Surname”/>

<field label=“Firstname” var=“Firstname”/>

</reported>

<item>

<field var=“jid”>

<value>mwalsh@ukim</value>

</field>

<field var=“Username”>

<value>mwalsh</value>

</field>

<field var=“Name”>

<value/>

</field>

<field var=“Email”>

      &lt;value&gt;MWalsh@MICROS.COM&lt;/value&gt;

</field>

</item>

<field var=“FORM_TYPE” type=“hidden”/>

</x>

</query>

</iq>