Thursday 15 January 2009 7:59:43 pm
I don't push a bug. I like to filter products by price range. I filtered objects of product class ProductA by using facet/filter. Price datatype of ProductA is ezprice. Everything OK. But when I filteredz objects of product class ProductB. Price datatype of ProductB is ezmultiprice, everything it not OK. I see in ezfind.ini as follows:
"
[SolrFieldMapSettings]
# List of custom datatype mapping. eZ Publish datatype string is used
# as key, and the value if the name of the class to use.
#
# Example:
# CustomMap[eztext]=ezfSolrDocumentFieldText
CustomMap[ezobjectrelation]=ezfSolrDocumentFieldObjectRelation CustomMap[ezobjectrelationlist]=ezfSolrDocumentFieldObjectRelation
# Datatype to field type map.
#
# Example:
DatatypeMap[eztext]=text
DatatypeMap[ezboolean]=boolean
DatatypeMap[ezdate]=date
DatatypeMap[ezdatetime]=date
DatatypeMap[ezfloat]=sfloat
DatatypeMap[ezinteger]=sint
<b>DatatypeMap[ezprice]=sfloat</b> DatatypeMap[eztime]=date
# Default field type
Default=text " <i>DatatypeMap[ezprice]=sfloat</i>. So <i>DatatypeMap[ezmultiprice]=???</i>. Some more php codes are needed? Help me! Thanks.
|