# # 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_obras_html.php, itemsPerPage = 10, sortBy = { Relevance = _natural, Identifier = ca_collections.idno, Title = ca_collection_labels.name }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc } }, documentos = { displayName = "Documentos", table = ca_objects, restrictToTypes = [file,documents,document_parts], view = Search/multisearch_results_documentos_html.php, itemsPerPage = 10, sortBy = { título = ca_objects.hierarchy.preferred_labels, data = ca_objects.unitdate.date_value, gênero = ca_objects.document_genre, espécie = ca_objects.document_type, evento = ca_occurrences.preferred_labels, }, sortDirection = { título = asc, data = asc, gênero = asc, espécie = asc, evento = asc } }, entidades = { displayName = "Entidades", table = ca_entities, restrictToTypes = [], view = Search/multisearch_results_entidades_html.php, itemsPerPage = 10, sortBy = { Relevance = _natural, Identifier = ca_entities.idno, Title = ca_entities_labels.name }, sortDirection = { Relevance = asc, Identifier = desc, Title = asc }, options = { selectMediaUsingRelationshipTypes = [] } }, eventos = { displayName = "Eventos", table = ca_occurrences, restrictToTypes = [], view = Search/multisearch_results_eventos_html.php, itemsPerPage = 10, 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", foundSingular = "encontrado", foundPlural = "encontrados", table = ca_objects, restrictToTypes = [file,documents,document_parts], view = Search/advancedsearch_documentos_html.php, views = { list = {} }, sortBy = { título = ca_objects.hierarchy.preferred_labels, data = ca_objects.unitdate.date_value, gênero = ca_objects.document_genre, espécie = ca_objects.document_type }, sortDirection = { título = asc, data = asc, gênero = asc, espécie = asc } }, obras = { displayName = "Obras", labelSingular = "obra", labelPlural = "obras", foundSingular = "encontrada", foundPlural = "encontradas", table = ca_objects, restrictToTypes = [artworks], view = Search/advancedsearch_obras_html.php, views = { list = {} }, sortBy = { nome = ca_object_labels.name, artista = ca_entities.preferred_labels, técnica = ca_objects.technique, data = ca_objects.production_date.production_date_value, evento = ca_occurrences.preferred_labels }, sortDirection = { nome = asc, artista = asc, técnica = asc, data = asc } }, eventos = { displayName = "Eventos", labelSingular = "evento", labelPlural = "eventos", table = ca_occurrences, foundSingular = "encontrado", foundPlural = "encontrados", restrictToTypes = [], view = Search/advancedsearch_eventos_html.php, views = { list = {} }, sortBy = { nome = ca_occurrences.preferred_labels, data = ca_occurrences.event_period.event_period_startdate, local = ca_entities.preferred_labels, bienal = ca_occurrences.event_type.event_type_bienal, tipo = ca_occurrences.event_type.event_type_value }, sortDirection = { nome = asc, data = asc, local = asc, bienal = asc, tipo = asc } }, entidades = { displayName = "Entidades", labelSingular = "entidade", labelPlural = "entidades", table = ca_entities, foundSingular = "encontrada", foundPlural = "encontradas", restrictToTypes = [], view = Search/advancedsearch_entidades_html.php, views = { list = {} }, sortBy = { nome = ca_entities.preferred_labels, tipo = ca_entities.type_id, categoria = ca_entities.entity_category, evento = ca_occurrences.preferred_labels }, sortDirection = { nome = asc, tipo = asc, categoria = asc, evento = asc } } } views = { images = { icon = glyphicon-th }, list = { icon = glyphicon-list }, timeline = { icon = glyphicon-time }, map = { icon = glyphicon-globe } } # # Other options # # add a wildcard "*" to the end of all searches? matchOnStem = 0