modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_AUXILIARINPUT.xml
author Shankar Balachandran <shankar.balachandran@openbravo.com>
Wed, 24 Oct 2012 11:11:00 +0200
changeset 18270 90820fdcd175
parent 10265 cde1d8da7761
permissions -rw-r--r--
Fixes Issue 0022031: Now selectors are working properly but not as before

The way selectors were working was modified to work properly in this issue https://issues.openbravo.com/view.php?id=21470.Prior to this change, even though 'startsWith' was set, the suggestion box always worked with the 'Contains' filter. Because of the change the behaviour was different from the existing behaviour of the selector, so modified the suggestion text match style from 'startsWith' to 'Contains' so that the existing behaviour will be restored.
<?xml version='1.0' encoding='UTF-8'?>
<data>
<!--6AFCF7E4E6334BD591452B5CE42BB17B--><AD_AUXILIARINPUT>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_AUXILIARINPUT_ID><![CDATA[6AFCF7E4E6334BD591452B5CE42BB17B]]></AD_AUXILIARINPUT_ID>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_TAB_ID><![CDATA[107]]></AD_TAB_ID>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <NAME><![CDATA[OBUISEL_SelectorOutField]]></NAME>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <CODE><![CDATA[@SQL=SELECT (CASE WHEN total > 0 THEN 'Y' ELSE 'N' END) AS outfield
  FROM (SELECT COUNT(*) AS total
          FROM AD_Column
         WHERE AD_Table_ID = @AD_Table_ID@
           AND (AD_Reference_ID = '95E2A8B50A254B2AAE6774B8C2F28120'
                OR AD_Reference_ID = '80B1630792EA46F298A3FBF81E77EF9C'
                OR AD_Reference_ID = '30')) total_fields]]></CODE>
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
<!--6AFCF7E4E6334BD591452B5CE42BB17B--></AD_AUXILIARINPUT>

</data>