Skip to content

Commit eaffc30

Browse files
mjordanrosiel
authored andcommitted
Issue #2170: Sort "manage members" View results by field_weight (Islandora#900)
1 parent 54f2116 commit eaffc30

File tree

1 file changed

+98
-84
lines changed

1 file changed

+98
-84
lines changed

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

+98-84
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,32 @@
11
langcode: en
22
status: true
33
dependencies:
4-
enforced:
5-
module:
6-
- islandora_core_feature
74
module:
85
- jsonld
96
- node
107
- rest
118
- serialization
129
- user
10+
enforced:
11+
module:
12+
- islandora_core_feature
13+
_core:
14+
default_config_hash: Zwu8JUsBiYaxPko_9DbJJhA-ZZSGOm81I9XtT9NH3M4
1315
id: manage_members
1416
label: 'Manage members'
1517
module: views
1618
description: 'Manage members belonging to a piece of content'
1719
tag: ''
1820
base_table: node_field_data
1921
base_field: nid
20-
core: 8.x
2122
display:
2223
default:
23-
display_plugin: default
2424
id: default
2525
display_title: Master
26+
display_plugin: default
2627
position: 0
2728
display_options:
28-
access:
29-
type: perm
30-
options:
31-
perm: 'manage members'
32-
cache:
33-
type: tag
34-
options: { }
35-
query:
36-
type: views_query
37-
options:
38-
disable_sql_rewrite: false
39-
distinct: false
40-
replica: false
41-
query_comment: ''
42-
query_tags: { }
43-
exposed_form:
44-
type: basic
45-
options:
46-
submit_button: Apply
47-
reset_button: false
48-
reset_button_label: Reset
49-
exposed_sorts_label: 'Sort by'
50-
expose_sort_order: true
51-
sort_asc_label: Asc
52-
sort_desc_label: Desc
53-
pager:
54-
type: mini
55-
options:
56-
items_per_page: 10
57-
offset: 0
58-
id: 0
59-
total_pages: null
60-
expose:
61-
items_per_page: false
62-
items_per_page_label: 'Items per page'
63-
items_per_page_options: '5, 10, 25, 50'
64-
items_per_page_options_all: false
65-
items_per_page_options_all_label: '- All -'
66-
offset: false
67-
offset_label: Offset
68-
tags:
69-
previous: ‹‹
70-
next: ››
71-
style:
72-
type: table
73-
row:
74-
type: fields
29+
title: 'Manage members'
7530
fields:
7631
node_bulk_form:
7732
id: node_bulk_form
@@ -80,6 +35,8 @@ display:
8035
relationship: none
8136
group_type: group
8237
admin_label: ''
38+
entity_type: node
39+
plugin_id: node_bulk_form
8340
label: 'Node operations bulk form'
8441
exclude: false
8542
alter:
@@ -124,33 +81,27 @@ display:
12481
action_title: Action
12582
include_exclude: exclude
12683
selected_actions: { }
127-
entity_type: node
128-
plugin_id: node_bulk_form
12984
title:
13085
id: title
13186
table: node_field_data
13287
field: title
88+
relationship: none
89+
group_type: group
90+
admin_label: ''
13391
entity_type: node
13492
entity_field: title
93+
plugin_id: field
94+
label: Title
95+
exclude: false
13596
alter:
13697
alter_text: false
13798
make_link: false
13899
absolute: false
139-
trim: false
140100
word_boundary: false
141101
ellipsis: false
142102
strip_tags: false
103+
trim: false
143104
html: false
144-
hide_empty: false
145-
empty_zero: false
146-
settings:
147-
link_to_entity: true
148-
plugin_id: field
149-
relationship: none
150-
group_type: group
151-
admin_label: ''
152-
label: Title
153-
exclude: false
154105
element_type: ''
155106
element_class: ''
156107
element_label_type: ''
@@ -160,9 +111,13 @@ display:
160111
element_wrapper_class: ''
161112
element_default_classes: true
162113
empty: ''
114+
hide_empty: false
115+
empty_zero: false
163116
hide_alter_empty: true
164117
click_sort_column: value
165118
type: string
119+
settings:
120+
link_to_entity: true
166121
group_column: value
167122
group_columns: { }
168123
group_rows: true
@@ -180,6 +135,8 @@ display:
180135
relationship: none
181136
group_type: group
182137
admin_label: ''
138+
entity_type: node
139+
plugin_id: entity_operations
183140
label: 'Operations links'
184141
exclude: false
185142
alter:
@@ -222,15 +179,56 @@ display:
222179
empty_zero: false
223180
hide_alter_empty: true
224181
destination: false
225-
entity_type: node
226-
plugin_id: entity_operations
227-
filters: { }
228-
sorts: { }
229-
title: 'Manage members'
230-
header: { }
231-
footer: { }
182+
pager:
183+
type: mini
184+
options:
185+
offset: 0
186+
items_per_page: 10
187+
total_pages: null
188+
id: 0
189+
tags:
190+
next: ››
191+
previous: ‹‹
192+
expose:
193+
items_per_page: false
194+
items_per_page_label: 'Items per page'
195+
items_per_page_options: '5, 10, 25, 50'
196+
items_per_page_options_all: false
197+
items_per_page_options_all_label: '- All -'
198+
offset: false
199+
offset_label: Offset
200+
exposed_form:
201+
type: basic
202+
options:
203+
submit_button: Apply
204+
reset_button: false
205+
reset_button_label: Reset
206+
exposed_sorts_label: 'Sort by'
207+
expose_sort_order: true
208+
sort_asc_label: Asc
209+
sort_desc_label: Desc
210+
access:
211+
type: perm
212+
options:
213+
perm: 'manage members'
214+
cache:
215+
type: tag
216+
options: { }
232217
empty: { }
233-
relationships: { }
218+
sorts:
219+
field_weight_value:
220+
id: field_weight_value
221+
table: node__field_weight
222+
field: field_weight_value
223+
relationship: none
224+
group_type: group
225+
admin_label: ''
226+
plugin_id: standard
227+
order: ASC
228+
expose:
229+
label: ''
230+
field_identifier: ''
231+
exposed: false
234232
arguments:
235233
field_member_of_target_id:
236234
id: field_member_of_target_id
@@ -239,6 +237,7 @@ display:
239237
relationship: none
240238
group_type: group
241239
admin_label: ''
240+
plugin_id: numeric
242241
default_action: default
243242
exception:
244243
value: all
@@ -252,8 +251,8 @@ display:
252251
summary_options:
253252
base_path: ''
254253
count: true
255-
items_per_page: 25
256254
override: false
255+
items_per_page: 25
257256
summary:
258257
sort_order: asc
259258
number_of_records: 0
@@ -263,17 +262,32 @@ display:
263262
type: 'entity:node'
264263
fail: 'not found'
265264
validate_options:
266-
operation: view
267-
multiple: 0
268265
bundles: { }
269266
access: false
267+
operation: view
268+
multiple: 0
270269
break_phrase: false
271270
not: false
272-
plugin_id: numeric
273-
display_extenders: { }
271+
filters: { }
274272
filter_groups:
275273
operator: AND
276274
groups: { }
275+
style:
276+
type: table
277+
row:
278+
type: fields
279+
query:
280+
type: views_query
281+
options:
282+
query_comment: ''
283+
disable_sql_rewrite: false
284+
distinct: false
285+
replica: false
286+
query_tags: { }
287+
relationships: { }
288+
header: { }
289+
footer: { }
290+
display_extenders: { }
277291
cache_metadata:
278292
max-age: 0
279293
contexts:
@@ -285,9 +299,9 @@ display:
285299
- user.permissions
286300
tags: { }
287301
page_1:
288-
display_plugin: page
289302
id: page_1
290303
display_title: Page
304+
display_plugin: page
291305
position: 1
292306
display_options:
293307
display_extenders: { }
@@ -296,11 +310,11 @@ display:
296310
type: tab
297311
title: Children
298312
description: ''
313+
weight: 0
299314
expanded: false
315+
menu_name: main
300316
parent: ''
301-
weight: 0
302317
context: '0'
303-
menu_name: main
304318
cache_metadata:
305319
max-age: 0
306320
contexts:
@@ -312,20 +326,20 @@ display:
312326
- user.permissions
313327
tags: { }
314328
rest_export_1:
315-
display_plugin: rest_export
316329
id: rest_export_1
317330
display_title: 'REST export'
331+
display_plugin: rest_export
318332
position: 1
319333
display_options:
320-
display_extenders: { }
321-
path: node/%node/members
322334
style:
323335
type: serializer
324336
options:
325337
uses_fields: false
326338
formats:
327339
jsonld: jsonld
328340
json: json
341+
display_extenders: { }
342+
path: node/%node/members
329343
auth:
330344
- basic_auth
331345
- jwt_auth

0 commit comments

Comments
 (0)