svn commit: r1759333 - in /ofbiz/trunk/applications/content/widget/content: ContentScreens.xml DataResourceScreens.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1759333 - in /ofbiz/trunk/applications/content/widget/content: ContentScreens.xml DataResourceScreens.xml

diveshdutta
Author: diveshdutta
Date: Mon Sep  5 17:05:43 2016
New Revision: 1759333

URL: http://svn.apache.org/viewvc?rev=1759333&view=rev
Log:
[OFBIZ-7721] Fixed: auto-completer does not work to search Data Resource Id and owner content id. Thanks Ankush Upadhyay for reporting and fixing the issue.

Modified:
    ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
    ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml

Modified: ofbiz/trunk/applications/content/widget/content/ContentScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/ContentScreens.xml?rev=1759333&r1=1759332&r2=1759333&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/ContentScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/ContentScreens.xml Mon Sep  5 17:05:43 2016
@@ -448,6 +448,8 @@ under the License.
             <actions>
                 <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="title" value="${uiLabelMap.PageTitleLookupContent}"/>
+                <set field="entityName" value="Content"/>
+                <set field="searchFields" value="[contentId, contentName]"/>
                 <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
                 <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>

Modified: ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml?rev=1759333&r1=1759332&r2=1759333&view=diff
==============================================================================
--- ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml (original)
+++ ofbiz/trunk/applications/content/widget/content/DataResourceScreens.xml Mon Sep  5 17:05:43 2016
@@ -133,6 +133,8 @@ under the License.
             <actions>
                 <property-map resource="ContentUiLabels" map-name="uiLabelMap" global="true"/>
                 <set field="title" value="${uiLabelMap.PageTitleLookupDataResource}"/>
+                <set field="entityName" value="DataResource"/>
+                <set field="searchFields" value="[dataResourceId, dataResourceName]"/>
                 <set field="viewIndex" from-field="requestParameters.VIEW_INDEX" type="Integer"/>
                 <set field="viewSize" from-field="requestParameters.VIEW_SIZE" type="Integer" default-value="20"/>
             </actions>