[gnue-contrib] r271 - address/forms

[email protected]
Newsgroups gmane.comp.cms.gnue.cvs
Message-ID <[email protected]>
Author: reinhard
Date: 2007-04-26 05:16:31 -0500 (Thu, 26 Apr 2007)
New Revision: 271

Modified:
   address/forms/address.gfd
Log:
Show matchcode instead of name in quicksearch.


Modified: address/forms/address.gfd
===================================================================
--- address/forms/address.gfd	2007-04-19 14:52:05 UTC (rev 270)
+++ address/forms/address.gfd	2007-04-26 10:16:31 UTC (rev 271)
@@ -33,7 +33,7 @@
 
   <datasource name="dts_company_quick" connection="address" table="company" prequery="Y">
     <sortorder>
-      <sortfield name="name1" descending="N" ignorecase="Y"/>
+      <sortfield name="matchcode" descending="N" ignorecase="Y"/>
     </sortorder>
     <condition>
       <eq><cfield name="quicksearch"/><cconst value="1"/></eq>
@@ -93,8 +93,8 @@
     </block>
 
     <block name="blk">
-      <field name="company" datatype="text" length="32" required="Y"
-        fk_key="id" fk_description="name1" fk_source="dts_company_quick">
+      <field name="company" datatype="text" length="16" required="Y"
+        fk_key="id" fk_description="matchcode" fk_source="dts_company_quick">
         <trigger type="POST-CHANGE">
           if blk.company.value is not None:
               blk_company.search_record(id=int(blk.company.get()))
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.