# # 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 } }, colecoes = { displayName = _(Documentos de coleções), table = ca_collections, restrictToTypes = [filea,filet,fileb,documentsa,documentsb,documentst], 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, view = Search/ca_objects_advanced_search_documentos_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Título = ca_object_labels.name, Data = ca_objects.unitdate.date_value, Gênero = ca_objects.document_genre, Espécie = ca_objects.document_type, } }, 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 = 100, sortControlType = list, sortBy = { Título = ca_object_labels.name, Artista = ca_entities.preferred_labels, Evento = ca_occurrences.preferred_labels.name } }, biblioteca = { displayName = _(Biblioteca), labelSingular = _("documento da biblioteca"), labelPlural = _("documentos da biblioteca"), genreArticle = o, table = ca_collections, restrictToTypes = [fileb,documentsb], view = Search/ca_collections_advanced_search_biblioteca_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Título = ca_collections_labels.name, Autor = ca_entities.preferred_labels/creator, Data = ca_collections.unidate.date_value, Espécie = ca_collections.document_type } }, participacoes = { displayName = _(Participacao), labelSingular = _("participação em evento"), labelPlural = _("participações em eventos"), genreArticle = o, table = ca_entities_x_occurrences, restrictToTypes = [], view = Search/ca_entities_x_occurrences_advanced_search_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { ordem1 = ca_collections_labels.name, ordem2 = ca_entities.preferred_labels/creator, ordem3 = ca_collections.unidate.date_value, ordem4 = ca_collections.document_type } }, dossiesdeartistas = { displayName = _(Dossiê de artista), labelSingular = _("dossiê de artista"), labelPlural = _("dossiês de artistas"), genreArticle = o, table = ca_collections, restrictToTypes = [filea,documentsa,], view = Search/ca_collections_advanced_search_dossiedeartista_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Espécie = ca_collections.document_type, País = ca_places.preferred_labels, Título = ca_collections.preferred_labels } }, temasdeartes = { displayName = _(Tema de arte), labelSingular = _("tema de arte"), labelPlural = _("temas de arte"), genreArticle = o, table = ca_collections, restrictToTypes = [filet,documentst], view = Search/ca_collections_advanced_search_temadearte_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Data = ca_collections.unidate.date_value, Título = ca_collections_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 = { Nome = ca_entity_labels.displayname, Tipo = ca_entities.type_id, Categoria = ca_entities.entity_category }, sortDirection = { Nome = asc, Tipo = asc, Categoria = 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 = [] } }, colecoes = { displayName = _(Coleções), labelSingular = _("documento de coleções"), labelPlural = _("documentos de coleções"), genreArticle = o, table = ca_collections, view = Search/ca_collections_advanced_search_html.php, itemsPerPage = 10, sortControlType = list, sortBy = { Identificador = ca_collections.idno, Título = ca_collections_labels.name } } } 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