# # Defines searches to be executed on a "multisearch" – a search across several types of records at once # # multisearchTypes = { obras = { displayName = _(Obras), table = ca_objects, restrictToTypes = [artworks], view = Search/multisearch_results_artworks_html.php, itemsPerPage = 12, itemsPerColumn = 3, # --- sortControlType = dropdown or list sortControlType = list, sortBy = { Title = ca_object_labels.name }, sortDirection = { Title = asc } }, documentos = { displayName = _(Documentos de fundos), table = ca_objects, restrictToTypes = [file,documents], view = Search/multisearch_results_objects_html.php, itemsPerPage = 12, itemsPerColumn = 3, # --- sortControlType = dropdown or list sortControlType = list, sortBy = { Title = ca_object_labels.name }, sortDirection = { Title = asc } }, dossiesdeartistas = { displayName = _(Documentos de coleções), table = ca_collections, view = Search/multisearch_results_collections_html.php, itemsPerPage = 12, itemsPerColumn = 3, sortControlType = list, sortBy = { Title = ca_collections_labels.name }, sortDirection = { Title = asc } }, entidades = { displayName = _(Entidades), table = ca_entities, #restrictToTypes = [], view = Search/multisearch_results_entities_html.php, itemsPerPage = 12, itemsPerColumn = 3, # --- sortControlType = dropdown or list sortControlType = list, sortBy = { Relevance = _natural, Identifier = ca_entities.idno, Name = ca_entity_labels.surname;ca_entity_labels.forename }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc }, options = { selectMediaUsingRelationshipTypes = [] } }, eventos = { displayName = _(Eventos), table = ca_occurrences, #restrictToTypes = [], view = Search/multisearch_results_occurrences_html.php, # --- sortControlType = dropdown or list sortControlType = list, itemsPerPage = 12, itemsPerColumn = 3, sortBy = { Relevance = _natural, Identifier = ca_occurrences.idno, Title = ca_occurrence_labels.name }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc } } } advancedSearchTypes = { documentos = { displayName = _(Documentos), labelSingular = _("documento"), labelPlural = _("documentos"), genreArticle = o, table = ca_objects, restrictToTypes = [documents,document_parts], view = Search/ca_objects_advanced_search_documentos_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Entity = ca_entity_labels.surname;ca_entity_labels.forename, Identifier = ca_objects.idno, Name = ca_object_labels.name } }, dossies = { displayName = _(Dossiês), labelSingular = _("dossiê"), labelPlural = _("dossiês"), genreArticle = o, table = ca_objects, restrictToTypes = [file], view = Search/ca_objects_advanced_search_dossies_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Entity = ca_entity_labels.surname;ca_entity_labels.forename, Identifier = ca_objects.idno, Name = ca_object_labels.name } }, obras = { displayName = _(Obras), labelSingular = _("obra"), labelPlural = _("obras"), genreArticle = a, table = ca_objects, restrictToTypes = [artworks], view = Search/ca_objects_advanced_search_obras_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Identificador = ca_objects.idno, Título = ca_object_labels.name } }, biblioteca = { displayName = _(Biblioteca), labelSingular = _("documento da biblioteca"), labelPlural = _("documentos da biblioteca"), genreArticle = o, table = ca_collections, restrictToTypes = [documentsb,filesb], view = Search/ca_collections_advanced_search_biblioteca_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Identificador = ca_objects.idno, Título = ca_object_labels.name } }, dossiesdeartistas = { displayName = _(Dossiê de artista), labelSingular = _("dossiê de artista"), labelPlural = _("dossiês de artistas"), genreArticle = o, table = ca_collections, restrictToTypes = [documentsa,filesa], view = Search/ca_collections_advanced_search_dossiedeartista_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Identificador = ca_objects.idno, Título = ca_object_labels.name } }, temasdeartes = { displayName = _(Tema de arte), labelSingular = _("tema de arte"), labelPlural = _("temas de arte"), genreArticle = o, table = ca_collections, restrictToTypes = [documentst,filest], view = Search/ca_collections_advanced_search_temadearte_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Identificador = ca_objects.idno, Título = ca_object_labels.name } }, entidades = { displayName = _(Entidades), labelSingular = _("entidade"), labelPlural = _("entidades"), genreArticle = a, table = ca_entities, restrictToTypes = [enttype_grupodepessoas,enttype_pessoa,enttype_instituicao], view = Search/ca_entities_advanced_search_entidades_html.php, itemsPerPage = 12, itemsPerColumn = 3, # --- sortControlType = dropdown or list sortControlType = list, sortBy = { Relevância = _natural, Identificador = ca_entities.idno, Visualização = ca_entity_labels.displayname }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc }, options = { selectMediaUsingRelationshipTypes = [] } }, eventos = { displayName = _(Eventos), labelSingular = _("evento"), labelPlural = _("eventos"), genreArticle = o, table = ca_occurrences, restrictToTypes = [], view = Search/ca_occurrences_advanced_search_eventos_html.php, itemsPerPage = 12, itemsPerColumn = 3, # --- sortControlType = dropdown or list sortControlType = list, sortBy = { Relevância = _natural, Identificador = ca_occurrences.idno, Visualização = ca_occurrence_labels.displayname }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc }, options = { selectMediaUsingRelationshipTypes = [] } } } views = { images = { icon = glyphicon-th }, list = { icon = glyphicon-list }, timeline = { icon = glyphicon-time }, map = { icon = glyphicon-globe } } # # Other options # # default number of results per page/ajax load defaultHitsPerBlock = 36 # add a wildcard "*" to the end of all searches? matchOnStem = 0