Author: byersa
Date: Tue Jun 12 23:32:23 2007
New Revision: 546750
URL:
http://svn.apache.org/viewvc?view=rev&rev=546750Log:
I found that views the put a prefix on from/thruDate do not work with the simple language "filter-by-date" option.
Rather than mess with the code, I just added an alias for those two fields to ContentAssocViewFrom/To.
Modified:
ofbiz/trunk/applications/content/entitydef/entitymodel.xml
Modified: ofbiz/trunk/applications/content/entitydef/entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/entitydef/entitymodel.xml?view=diff&rev=546750&r1=546749&r2=546750==============================================================================
--- ofbiz/trunk/applications/content/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/content/entitydef/entitymodel.xml Tue Jun 12 23:32:23 2007
@@ -467,6 +467,8 @@
<alias-all entity-alias="CO"/>
<alias-all entity-alias="CA" prefix="ca"/>
<alias entity-alias="CA" name="contentIdStart" field="contentIdTo"/>
+ <alias entity-alias="CA" name="fromDate" field="fromDate"/>
+ <alias entity-alias="CA" name="thruDate" field="thruDate"/>
<view-link entity-alias="CA" rel-entity-alias="CO">
<key-map field-name="contentId"/>
</view-link>
@@ -479,6 +481,8 @@
<alias-all entity-alias="CO"/>
<alias-all entity-alias="CA" prefix="ca"/>
<alias entity-alias="CA" name="contentIdStart" field="contentId"/>
+ <alias entity-alias="CA" name="fromDate" field="fromDate"/>
+ <alias entity-alias="CA" name="thruDate" field="thruDate"/>
<view-link entity-alias="CA" rel-entity-alias="CO">
<key-map field-name="contentIdTo" rel-field-name="contentId"/>
</view-link>