Hi,
I'm trying to get may way around FILTER BY and facets, and I think it will help me to understand the following.
I copied
type_facet = {
type = fieldList,
field = type_id,
group_mode = none,
label_singular = _("Object Type"),
label_plural = _("Object Types"),
description = _("Find objects according to the Types defined in your collection profile."),
},
in ca_objects from app/conf/browse.conf and FILTER BY finally showed in the browse page.
My question is: where does type_id come from? The two elements I'm offered to filter by are Artworks and Works, the latter added by me in Object Type (object_types).
I just can't find type_id in the List/Vocabulary terms.
Shouldn't it be field = object_types or switched to element_code = object_types?
Confused. I've read all previous post on this matter and didn't help.
Thanks.