Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the CollectiveAccess support forum! Here the developers and community answer questions related to use of the software. Please include the following information in every new issue posted here:

  1. Version of the software that is used, along with browser and version

  2. If the issue pertains to Providence, Pawtucket or both

  3. What steps you’ve taken to try to resolve the issue

  4. Screenshots demonstrating the issue

  5. The relevant sections of your installation profile or configuration including the codes and settings defined for your local elements.


If your question pertains to data import or export, please also include:

  1. Data sample

  2. Your mapping


Answers may be delayed for posts that do not include sufficient information.

Browse by an entity's gender - Restrict to include only certain relationships

We have the following browse.conf configuration for the 'browse by gender' functionality but the issue is that it finds all relationships and we would like to restrict the gender browse to only consider certain relationship types like
restrict_to_relationship_types = [creator,Collaborating_Artist,publisher,painter,engraver,printer,etcher,author,handcolourist,masterprinter,videographer]
i.e. if one of the above is male or female then display the results in Browse and exclude others from the browse results. Can this be configured?
I tried to use "suppress = [772]," where 772 is the item id of the entity type to to be excluded from browse but it doesn't work.

gender = {
type = attribute,
element_code = sex,
relative_to = ca_entities,
group_mode = none,
facet_groups = [],
label_singular = _("Artist Gender"),
label_plural = _("Artist Genders")
},

Comments

  • What does this browse return? Objects?

  • @seth

    Yes, this browse returns objects where any of the object's entity's has the selected gender attribute.

    The issue we have is, for example, when we select 'female' as the Artist Gender to Browse by, it not only returns objects where the artist's gender is female but also other objects where the entity's gender is female such as object Initiator, sponsor etc.

    We would like to restrict the browse by gender functionality to only return objects for selected entity types - mainly Artist

Sign In or Register to comment.