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.
harpreet@9091
     1
<?xml version='1.0' encoding='UTF-8'?>
harpreet@9091
     2
<data>
harpreet@9091
     3
<!--6AFCF7E4E6334BD591452B5CE42BB17B--><AD_AUXILIARINPUT>
harpreet@9091
     4
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_AUXILIARINPUT_ID><![CDATA[6AFCF7E4E6334BD591452B5CE42BB17B]]></AD_AUXILIARINPUT_ID>
harpreet@9091
     5
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_TAB_ID><![CDATA[107]]></AD_TAB_ID>
harpreet@9091
     9
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <NAME><![CDATA[OBUISEL_SelectorOutField]]></NAME>
harpreet@9091
    10
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <CODE><![CDATA[@SQL=SELECT (CASE WHEN total > 0 THEN 'Y' ELSE 'N' END) AS outfield
harpreet@9091
    11
  FROM (SELECT COUNT(*) AS total
harpreet@9091
    12
          FROM AD_Column
harpreet@9091
    13
         WHERE AD_Table_ID = @AD_Table_ID@
harpreet@9091
    14
           AND (AD_Reference_ID = '95E2A8B50A254B2AAE6774B8C2F28120'
gorkaion@10265
    15
                OR AD_Reference_ID = '80B1630792EA46F298A3FBF81E77EF9C'
gorkaion@10265
    16
                OR AD_Reference_ID = '30')) total_fields]]></CODE>
harpreet@9091
    17
<!--6AFCF7E4E6334BD591452B5CE42BB17B-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
harpreet@9091
    18
<!--6AFCF7E4E6334BD591452B5CE42BB17B--></AD_AUXILIARINPUT>
harpreet@9091
    19
harpreet@9091
    20
</data>