Hi Neil,

Thanks for the bug report! I think I've fixed it. Could you shift-reload 
your exhibit and see if .artist.birthDate works now?

Thanks again!

David

Neil Ireson wrote:
> Hi all,
>
> I have been trying to fix this problem but without success. Apologies 
> for not supplying an example page, I do not yet have permission to 
> distribute all the data I'm using. I will try to construct an simple 
> example if the problem is not easy to track down.
>
> I am encountering a problem in using a Exhibit.NumericRangeFacet.
>
> My page includes two connected collections; artworks and artists
>
> <div ex:role="collection" ex:itemTypes="Artwork" 
> id="artwork-collection"></div>
> <div ex:role="collection" ex:baseCollectionID="artwork-collection" 
> ex:expression=".artist" id="artist-collection"></div>
>
> All is well with the facets on both the artwork and artist collections 
> except for the following facet
>
>     <div ex:role="facet"
>             ex:collectionID="artwork-collection"
>             ex:expression=".artist.birthDate"
>             ex:facetLabel="Birth Date"
>             ex:facetClass="Exhibit.NumericRangeFacet"
>             ex:interval="100"></div>
>
> Which produces a zero count for all the ranges. The ranges are being 
> constructed OK but things seem to go wrong in the rangebackward 
> (expression.js) function. Also the data is OK as the facet works if I 
> simple use the artist-collection and ".birthDate" expression, but 
> obviously this fails to effect any of the artwork views.
>
> N
>
> PS I've side stepped the issue by creating a dummy property "Birth 
> Century" (which is not an ideal solution) but thought I'd post this as 
> a bug report... is this the best place to post bug reports?
>
> ------------------------------------------------------------------------
> Play Movie Mash-up and win BIG prizes! <https://www.moviemashup.co.uk>
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to