modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_VAL_RULE.xml
author Shankar Balachandran <shankar.balachandran@openbravo.com>
Wed, 24 Oct 2012 11:11:00 +0200
changeset 18270 90820fdcd175
parent 9091 c4f1a5c7d7c2
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
<!--4EF98D5683D7494090C12822126A4368--><AD_VAL_RULE>
harpreet@9091
     4
<!--4EF98D5683D7494090C12822126A4368-->  <AD_VAL_RULE_ID><![CDATA[4EF98D5683D7494090C12822126A4368]]></AD_VAL_RULE_ID>
harpreet@9091
     5
<!--4EF98D5683D7494090C12822126A4368-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
     6
<!--4EF98D5683D7494090C12822126A4368-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
     7
<!--4EF98D5683D7494090C12822126A4368-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
     8
<!--4EF98D5683D7494090C12822126A4368-->  <NAME><![CDATA[Restrict to Selector Templates]]></NAME>
harpreet@9091
     9
<!--4EF98D5683D7494090C12822126A4368-->  <DESCRIPTION><![CDATA[Restrict to Selector Tempates]]></DESCRIPTION>
harpreet@9091
    10
<!--4EF98D5683D7494090C12822126A4368-->  <TYPE><![CDATA[S]]></TYPE>
harpreet@9091
    11
<!--4EF98D5683D7494090C12822126A4368-->  <CODE><![CDATA[COMPONENT_TYPE='OBUISEL_Selector']]></CODE>
harpreet@9091
    12
<!--4EF98D5683D7494090C12822126A4368-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
harpreet@9091
    13
<!--4EF98D5683D7494090C12822126A4368--></AD_VAL_RULE>
harpreet@9091
    14
harpreet@9091
    15
<!--6117B6AEE377452D9F85A4C517883A2C--><AD_VAL_RULE>
harpreet@9091
    16
<!--6117B6AEE377452D9F85A4C517883A2C-->  <AD_VAL_RULE_ID><![CDATA[6117B6AEE377452D9F85A4C517883A2C]]></AD_VAL_RULE_ID>
harpreet@9091
    17
<!--6117B6AEE377452D9F85A4C517883A2C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
harpreet@9091
    18
<!--6117B6AEE377452D9F85A4C517883A2C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
harpreet@9091
    19
<!--6117B6AEE377452D9F85A4C517883A2C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
harpreet@9091
    20
<!--6117B6AEE377452D9F85A4C517883A2C-->  <NAME><![CDATA[DataSource Field must be in DataSource]]></NAME>
harpreet@9091
    21
<!--6117B6AEE377452D9F85A4C517883A2C-->  <DESCRIPTION><![CDATA[DataSource Field must be in DataSource]]></DESCRIPTION>
harpreet@9091
    22
<!--6117B6AEE377452D9F85A4C517883A2C-->  <TYPE><![CDATA[S]]></TYPE>
harpreet@9091
    23
<!--6117B6AEE377452D9F85A4C517883A2C-->  <CODE><![CDATA[OBSERDS_DATASOURCE_FIELD.OBSERDS_DATASOURCE_ID=@OBSERDS_DATASOURCE_ID@]]></CODE>
harpreet@9091
    24
<!--6117B6AEE377452D9F85A4C517883A2C-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
harpreet@9091
    25
<!--6117B6AEE377452D9F85A4C517883A2C--></AD_VAL_RULE>
harpreet@9091
    26
harpreet@9091
    27
</data>