Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Member Of exposed as a filterable field in a single Collection View #12

Open
steinburgb opened this issue Jul 26, 2023 · 2 comments
Open
Assignees

Comments

@steinburgb
Copy link
Collaborator

Overview of UX improvement request
Include a page featuring Islandora 2 showcase example sites for new users to explore.

Rationale
In Collections view (https://sandbox.islandora.ca/node/9), Member Of is exposed as a filterable option. Redundant when all of the displayed objects will be part of one single collection anyway.

How to implement

@steinburgb
Copy link
Collaborator Author

uuid: 13299e29-0750-40e0-9b0b-96fb2ea69405
langcode: en
status: true
dependencies:
config:
- search_api.index.default_solr_index
- views.view.solr_search_content
module:
- search_api
id: member_of_swc
name: 'Member Of SwC'
weight: -2
min_count: 1
missing: false
missing_label: others
url_alias: member_of
facet_source_id: 'search_api:views_block__solr_search_content__block_1'
field_identifier: member_of_title
query_operator: or
hard_limit: 0
exclude: false
use_hierarchy: false
keep_hierarchy_parents_active: false
hierarchy:
type: taxonomy
config: { }
expand_hierarchy: false
enable_parent_when_child_gets_disabled: true
widget:
type: links
config:
show_numbers: true
soft_limit: 0
show_reset_link: false
reset_text: 'Show all'
hide_reset_when_no_selection: false
soft_limit_settings:
show_less_label: 'Show less'
show_more_label: 'Show more'
empty_behavior:
behavior: none
only_visible_when_facet_source_is_visible: true
show_only_one_result: false
show_title: false
processor_configs:
active_widget_order:
processor_id: active_widget_order
weights:
sort: 20
settings:
sort: DESC
count_widget_order:
processor_id: count_widget_order
weights:
sort: 30
settings:
sort: DESC
display_value_widget_order:
processor_id: display_value_widget_order
weights:
sort: 40
settings:
sort: ASC
hide_1_result_facet:
processor_id: hide_1_result_facet
weights:
build: 50
settings: { }
hide_inactive_siblings_processor:
processor_id: hide_inactive_siblings_processor
weights:
build: 10
settings: { }
hierarchy_processor:
processor_id: hierarchy_processor
weights:
build: 100
settings: { }
url_processor_handler:
processor_id: url_processor_handler
weights:
pre_query: 50
build: 15
settings: { }

steinburgb added a commit that referenced this issue Jul 26, 2023
@rosiel
Copy link

rosiel commented Aug 8, 2023

This was put in place so that nested collections could be surfaced. But since it includes the main collection, it's more useless than useful (unless we can figure out a way to exclude the current collection?)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants