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.conf (Search form for objects by entity and relationship type)

Hello,
I apologize but I can't understand the "Browse.conf" documentation well.
I have to create a new search form for objects, where it is possible to search by entity and type of relationship, for example all objects where there is a link with "Dante Alighieri" and the type of relationship is "author". So in the module I should be able to search not only for entities but also for a list of relationship types.
In my browse.conf I set up inside
ca_objects = {
facets = {

But when I configure the new search form, I don't have a chance
to select the type of relationship between entities and objects.
Any help?
Thanks so much.

We are on C.A. 1.7.8.

Comments

  • edited February 19

    Hello,

    First, I think that you should remove the space characters after the underscore in "_ ("REL_PROVA")" and in "_ ("RELS_PROVA")".

    Second, you should try this:

    rel_entity_facet = {
    type = authority,
    table = ca_relationship_types,
    relative_to = ca_objects_x_entities,
    relationship_table = ca_objects_x_entities,
    group_mode = alphabetical,
    label_singular = _("REL_PROVA"),
    label_plural = _("RELS_PROVA")
    },

    (I tested that in my CA and it works!)
    Bye!
    Clovis.

  • Yes! it works!
    Really many many thanks
    :-)
    Bye!
    Antonio

Sign In or Register to comment.