Browse Source

Issue #2170: Sort "manage members" View results by field_weight (#900)

pull/914/head
Mark Jordan 2 years ago committed by GitHub
parent
commit
ca1d9f6f60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 182
      modules/islandora_core_feature/config/install/views.view.manage_members.yml

182
modules/islandora_core_feature/config/install/views.view.manage_members.yml

@ -1,15 +1,17 @@
langcode: en langcode: en
status: true status: true
dependencies: dependencies:
enforced:
module:
- islandora_core_feature
module: module:
- jsonld - jsonld
- node - node
- rest - rest
- serialization - serialization
- user - user
enforced:
module:
- islandora_core_feature
_core:
default_config_hash: Zwu8JUsBiYaxPko_9DbJJhA-ZZSGOm81I9XtT9NH3M4
id: manage_members id: manage_members
label: 'Manage members' label: 'Manage members'
module: views module: views
@ -17,61 +19,14 @@ description: 'Manage members belonging to a piece of content'
tag: '' tag: ''
base_table: node_field_data base_table: node_field_data
base_field: nid base_field: nid
core: 8.x
display: display:
default: default:
display_plugin: default
id: default id: default
display_title: Master display_title: Master
display_plugin: default
position: 0 position: 0
display_options: display_options:
access: title: 'Manage members'
type: perm
options:
perm: 'manage members'
cache:
type: tag
options: { }
query:
type: views_query
options:
disable_sql_rewrite: false
distinct: false
replica: false
query_comment: ''
query_tags: { }
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
pager:
type: mini
options:
items_per_page: 10
offset: 0
id: 0
total_pages: null
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
tags:
previous: ‹‹
next: ››
style:
type: table
row:
type: fields
fields: fields:
node_bulk_form: node_bulk_form:
id: node_bulk_form id: node_bulk_form
@ -80,6 +35,8 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: node
plugin_id: node_bulk_form
label: 'Node operations bulk form' label: 'Node operations bulk form'
exclude: false exclude: false
alter: alter:
@ -124,33 +81,27 @@ display:
action_title: Action action_title: Action
include_exclude: exclude include_exclude: exclude
selected_actions: { } selected_actions: { }
entity_type: node
plugin_id: node_bulk_form
title: title:
id: title id: title
table: node_field_data table: node_field_data
field: title field: title
relationship: none
group_type: group
admin_label: ''
entity_type: node entity_type: node
entity_field: title entity_field: title
plugin_id: field
label: Title
exclude: false
alter: alter:
alter_text: false alter_text: false
make_link: false make_link: false
absolute: false absolute: false
trim: false
word_boundary: false word_boundary: false
ellipsis: false ellipsis: false
strip_tags: false strip_tags: false
trim: false
html: false html: false
hide_empty: false
empty_zero: false
settings:
link_to_entity: true
plugin_id: field
relationship: none
group_type: group
admin_label: ''
label: Title
exclude: false
element_type: '' element_type: ''
element_class: '' element_class: ''
element_label_type: '' element_label_type: ''
@ -160,9 +111,13 @@ display:
element_wrapper_class: '' element_wrapper_class: ''
element_default_classes: true element_default_classes: true
empty: '' empty: ''
hide_empty: false
empty_zero: false
hide_alter_empty: true hide_alter_empty: true
click_sort_column: value click_sort_column: value
type: string type: string
settings:
link_to_entity: true
group_column: value group_column: value
group_columns: { } group_columns: { }
group_rows: true group_rows: true
@ -180,6 +135,8 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
entity_type: node
plugin_id: entity_operations
label: 'Operations links' label: 'Operations links'
exclude: false exclude: false
alter: alter:
@ -222,15 +179,56 @@ display:
empty_zero: false empty_zero: false
hide_alter_empty: true hide_alter_empty: true
destination: false destination: false
entity_type: node pager:
plugin_id: entity_operations type: mini
filters: { } options:
sorts: { } offset: 0
title: 'Manage members' items_per_page: 10
header: { } total_pages: null
footer: { } id: 0
tags:
next: ››
previous: ‹‹
expose:
items_per_page: false
items_per_page_label: 'Items per page'
items_per_page_options: '5, 10, 25, 50'
items_per_page_options_all: false
items_per_page_options_all_label: '- All -'
offset: false
offset_label: Offset
exposed_form:
type: basic
options:
submit_button: Apply
reset_button: false
reset_button_label: Reset
exposed_sorts_label: 'Sort by'
expose_sort_order: true
sort_asc_label: Asc
sort_desc_label: Desc
access:
type: perm
options:
perm: 'manage members'
cache:
type: tag
options: { }
empty: { } empty: { }
relationships: { } sorts:
field_weight_value:
id: field_weight_value
table: node__field_weight
field: field_weight_value
relationship: none
group_type: group
admin_label: ''
plugin_id: standard
order: ASC
expose:
label: ''
field_identifier: ''
exposed: false
arguments: arguments:
field_member_of_target_id: field_member_of_target_id:
id: field_member_of_target_id id: field_member_of_target_id
@ -239,6 +237,7 @@ display:
relationship: none relationship: none
group_type: group group_type: group
admin_label: '' admin_label: ''
plugin_id: numeric
default_action: default default_action: default
exception: exception:
value: all value: all
@ -252,8 +251,8 @@ display:
summary_options: summary_options:
base_path: '' base_path: ''
count: true count: true
items_per_page: 25
override: false override: false
items_per_page: 25
summary: summary:
sort_order: asc sort_order: asc
number_of_records: 0 number_of_records: 0
@ -263,17 +262,32 @@ display:
type: 'entity:node' type: 'entity:node'
fail: 'not found' fail: 'not found'
validate_options: validate_options:
operation: view
multiple: 0
bundles: { } bundles: { }
access: false access: false
operation: view
multiple: 0
break_phrase: false break_phrase: false
not: false not: false
plugin_id: numeric filters: { }
display_extenders: { }
filter_groups: filter_groups:
operator: AND operator: AND
groups: { } groups: { }
style:
type: table
row:
type: fields
query:
type: views_query
options:
query_comment: ''
disable_sql_rewrite: false
distinct: false
replica: false
query_tags: { }
relationships: { }
header: { }
footer: { }
display_extenders: { }
cache_metadata: cache_metadata:
max-age: 0 max-age: 0
contexts: contexts:
@ -285,9 +299,9 @@ display:
- user.permissions - user.permissions
tags: { } tags: { }
page_1: page_1:
display_plugin: page
id: page_1 id: page_1
display_title: Page display_title: Page
display_plugin: page
position: 1 position: 1
display_options: display_options:
display_extenders: { } display_extenders: { }
@ -296,11 +310,11 @@ display:
type: tab type: tab
title: Children title: Children
description: '' description: ''
weight: 0
expanded: false expanded: false
menu_name: main
parent: '' parent: ''
weight: 0
context: '0' context: '0'
menu_name: main
cache_metadata: cache_metadata:
max-age: 0 max-age: 0
contexts: contexts:
@ -312,13 +326,11 @@ display:
- user.permissions - user.permissions
tags: { } tags: { }
rest_export_1: rest_export_1:
display_plugin: rest_export
id: rest_export_1 id: rest_export_1
display_title: 'REST export' display_title: 'REST export'
display_plugin: rest_export
position: 1 position: 1
display_options: display_options:
display_extenders: { }
path: node/%node/members
style: style:
type: serializer type: serializer
options: options:
@ -326,6 +338,8 @@ display:
formats: formats:
jsonld: jsonld jsonld: jsonld
json: json json: json
display_extenders: { }
path: node/%node/members
auth: auth:
- basic_auth - basic_auth
- jwt_auth - jwt_auth

Loading…
Cancel
Save