Author: diveshdutta
Date: Sat Sep 17 10:30:00 2016
New Revision: 1761178

URL: http://svn.apache.org/viewvc?rev=1761178&view=rev
Log:
Improved:Convert search criteria on status into multi-select pattern for 
content component. 

(OFBIZ-7547)

Added Check for status fields on Find Content and Find Data resource forms. 

Thanks: Mohammad Kathawala for the patch and Swapnil Shah for reporting the 
issue.

Modified:
    ofbiz/trunk/applications/content/widget/content/ContentForms.xml
    ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml

Modified: ofbiz/trunk/applications/content/widget/content/ContentForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentForms.xml?rev=1761178&r1=1761177&r2=1761178&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentForms.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentForms.xml Sat Sep 17 
10:30:00 2016
@@ -49,12 +49,12 @@ under the License.
             <lookup target-form-name="LookupContent"/>
         </field>
         <field name="statusId">
-            <drop-down allow-empty="true">
+            <check all-checked="false">
                 <entity-options entity-name="StatusItem">
                     <entity-constraint name="statusTypeId" operator="equals" 
value="CONTENT_STATUS"/>
                     <entity-order-by field-name="description"/>
                 </entity-options>
-            </drop-down>
+            </check>
         </field>
         <field name="createdByUserLogin" position="2"><lookup 
target-form-name="LookupUserLoginAndPartyDetails"/></field>
         <field name="localeString">

Modified: ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml?rev=1761178&r1=1761177&r2=1761178&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml 
(original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceForms.xml Sat 
Sep 17 10:30:00 2016
@@ -41,12 +41,12 @@ under the License.
             </drop-down>
         </field>
         <field name="statusId">
-            <drop-down allow-empty="true">
+            <check all-checked="false">
                 <entity-options entity-name="StatusItem">
                     <entity-constraint name="statusTypeId" operator="equals" 
value="CONTENT_STATUS"/>
                     <entity-order-by field-name="description"/>
                 </entity-options>
-            </drop-down>
+            </check>
         </field>
         <field name="localeString" position="2">
             <lookup target-form-name="LookupLocale"></lookup>


Reply via email to