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. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@546750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -467,6 +467,8 @@ under the License.
|
||||
<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 @@ under the License.
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user