Closed robertgarrigos closed 1 year ago
@robertgarrigos Can you explain how to get that checkbox? I set up VBO and a simple view with an admin path, and it's coming out like this:
And if I use the core bulk actions it looks like this, interestingly (with the operations at the bottom like it does with other core views that provide operations):
I see what's going on: my table uses grouping. This is provably a problem with VBO itself.
@robertgarrigos Can you export a simple View that displays this way and attach it here?
This is it. Created on a fresh Backdrop (Catalan installation), plus Views Bulk Operations and Gin, with the default content.
Config file:
{
"_config_name": "views.view.vbo",
"name": "vbo",
"description": "",
"tag": "default",
"disabled": false,
"base_table": "node",
"human_name": "VBO",
"core": "1.26.0",
"display": {
"default": {
"display_title": "Master",
"display_plugin": "default",
"display_options": {
"query": {
"type": "views_query",
"options": []
},
"access": {
"type": "perm",
"perm": "access content"
},
"cache": {
"type": "none"
},
"exposed_form": {
"type": "basic"
},
"pager": {
"type": "full",
"options": {
"items_per_page": "10"
}
},
"style_plugin": "table",
"row_plugin": "fields",
"fields": {
"views_bulk_operations": {
"id": "views_bulk_operations",
"table": "views_entity_node",
"field": "views_bulk_operations",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"label": "Contingut",
"exclude": 0,
"alter": {
"alter_text": 0,
"text": "",
"make_link": 0,
"path": "",
"absolute": 0,
"external": 0,
"replace_spaces": 0,
"path_case": "none",
"trim_whitespace": 0,
"alt": "",
"rel": "",
"link_class": "",
"prefix": "",
"suffix": "",
"target": "",
"nl2br": 0,
"max_length": "",
"word_boundary": 1,
"ellipsis": 1,
"more_link": 0,
"more_link_text": "",
"more_link_path": "",
"strip_tags": 0,
"trim": 0,
"preserve_tags": "",
"html": 0
},
"element_type": "",
"element_class": "",
"element_label_type": "",
"element_label_class": "",
"element_label_colon": 1,
"element_wrapper_type": "",
"element_wrapper_class": "",
"element_default_classes": 1,
"empty": "",
"hide_empty": 0,
"empty_zero": 0,
"hide_alter_empty": 1,
"vbo_settings": {
"display_type": "0",
"enable_select_all_pages": 1,
"row_clickable": 1,
"force_single": 0,
"entity_load_capacity": "10",
"skip_batching": 0,
"save_view_object_when_batching": 0
},
"vbo_operations": {
"action::path_node_update_action": {
"selected": 0,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_change_owner_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_delete_item_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": "",
"settings": {
"log": 0
}
},
"action::views_bulk_operations_delete_revision_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_display_message_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::node_unpromote_action": {
"selected": 0,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_script_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::node_make_sticky_action": {
"selected": 0,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::node_make_unsticky_action": {
"selected": 0,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_modify_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": "",
"settings": {
"show_all_tokens": 1,
"display_values": {
"_all_": "_all_"
}
}
},
"action::views_bulk_operations_argument_selector_vboaction": {
"selected": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": "",
"settings": {
"url": ""
}
},
"action::node_promote_action": {
"selected": 1,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::node_publish_action": {
"selected": 1,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_goto_vboaction": {
"selected": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::node_unpublish_action": {
"selected": 1,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_send_email_vboaction": {
"selected": 0,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
},
"action::node_delete_action": {
"selected": 0,
"postpone_processing": false,
"skip_confirmation": true,
"skip_permission_check": false,
"override_label": 0,
"label": ""
},
"action::views_bulk_operations_node_unpublish_by_keyword_vboaction": {
"selected": 1,
"postpone_processing": 0,
"skip_confirmation": 0,
"skip_permission_check": 0,
"override_label": 0,
"label": ""
}
}
},
"title": {
"id": "title",
"table": "node",
"field": "title",
"alter": {
"alter_text": 0,
"make_link": 0,
"absolute": 0,
"trim": 0,
"word_boundary": 0,
"ellipsis": 0,
"strip_tags": 0,
"html": 0
},
"hide_empty": 0,
"empty_zero": 0,
"link_to_node": 1
},
"created": {
"id": "created",
"table": "node",
"field": "created",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"label": "Data de publicació",
"exclude": 0,
"alter": {
"alter_text": 0,
"text": "",
"make_link": 0,
"path": "",
"absolute": 0,
"external": 0,
"replace_spaces": 0,
"path_case": "none",
"trim_whitespace": 0,
"alt": "",
"rel": "",
"link_class": "",
"prefix": "",
"suffix": "",
"target": "",
"nl2br": 0,
"max_length": "",
"word_boundary": 1,
"ellipsis": 1,
"more_link": 0,
"more_link_text": "",
"more_link_path": "",
"strip_tags": 0,
"trim": 0,
"preserve_tags": "",
"html": 0
},
"element_type": "",
"element_class": "",
"element_label_type": "",
"element_label_class": "",
"element_label_colon": 1,
"element_wrapper_type": "",
"element_wrapper_class": "",
"element_default_classes": 1,
"empty": "",
"hide_empty": 0,
"empty_zero": 0,
"hide_alter_empty": 1,
"date_format": "short",
"custom_date_format": "",
"timezone": ""
},
"promote": {
"id": "promote",
"table": "node",
"field": "promote",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"label": "Promogut",
"exclude": 0,
"alter": {
"alter_text": 0,
"text": "",
"make_link": 0,
"path": "",
"absolute": 0,
"external": 0,
"replace_spaces": 0,
"path_case": "none",
"trim_whitespace": 0,
"alt": "",
"rel": "",
"link_class": "",
"prefix": "",
"suffix": "",
"target": "",
"nl2br": 0,
"max_length": "",
"word_boundary": 1,
"ellipsis": 1,
"more_link": 0,
"more_link_text": "",
"more_link_path": "",
"strip_tags": 0,
"trim": 0,
"preserve_tags": "",
"html": 0
},
"element_type": "",
"element_class": "",
"element_label_type": "",
"element_label_class": "",
"element_label_colon": 1,
"element_wrapper_type": "",
"element_wrapper_class": "",
"element_default_classes": 1,
"empty": "",
"hide_empty": 0,
"empty_zero": 0,
"hide_alter_empty": 1,
"type": "yes-no",
"type_custom_true": "",
"type_custom_false": "",
"not": 0
},
"status": {
"id": "status",
"table": "node",
"field": "status",
"relationship": "none",
"group_type": "group",
"ui_name": "",
"label": "Publicat",
"exclude": 0,
"alter": {
"alter_text": 0,
"text": "",
"make_link": 0,
"path": "",
"absolute": 0,
"external": 0,
"replace_spaces": 0,
"path_case": "none",
"trim_whitespace": 0,
"alt": "",
"rel": "",
"link_class": "",
"prefix": "",
"suffix": "",
"target": "",
"nl2br": 0,
"max_length": "",
"word_boundary": 1,
"ellipsis": 1,
"more_link": 0,
"more_link_text": "",
"more_link_path": "",
"strip_tags": 0,
"trim": 0,
"preserve_tags": "",
"html": 0
},
"element_type": "",
"element_class": "",
"element_label_type": "",
"element_label_class": "",
"element_label_colon": 1,
"element_wrapper_type": "",
"element_wrapper_class": "",
"element_default_classes": 1,
"empty": "",
"hide_empty": 0,
"empty_zero": 0,
"hide_alter_empty": 1,
"type": "yes-no",
"type_custom_true": "",
"type_custom_false": "",
"not": 0
}
},
"filters": {
"status": {
"value": 1,
"table": "node",
"field": "status",
"id": "status",
"expose": {
"operator": false
},
"group": 1
}
},
"sorts": {
"created": {
"id": "created",
"table": "node",
"field": "created",
"order": "DESC"
}
},
"title": "VBO",
"style_options": {
"grouping": [
{
"field": "promote",
"rendered": 1,
"rendered_strip": 0
}
],
"row_class": "",
"default_row_class": 1,
"row_class_special": 1,
"override": 1,
"sticky": 0,
"caption": "",
"summary": "",
"columns": {
"views_bulk_operations": "views_bulk_operations",
"title": "title",
"created": "created",
"promote": "promote",
"status": "status"
},
"info": {
"views_bulk_operations": {
"align": "",
"separator": "",
"empty_column": 0
},
"title": {
"sortable": 0,
"default_sort_order": "asc",
"align": "",
"separator": "",
"empty_column": 0
},
"created": {
"sortable": 0,
"default_sort_order": "asc",
"align": "",
"separator": "",
"empty_column": 0
},
"promote": {
"sortable": 0,
"default_sort_order": "asc",
"align": "",
"separator": "",
"empty_column": 0
},
"status": {
"sortable": 0,
"default_sort_order": "asc",
"align": "",
"separator": "",
"empty_column": 0
}
},
"default": "-1",
"empty_table": 0
}
}
},
"page": {
"display_title": "Page",
"display_plugin": "page",
"display_options": {
"query": {
"type": "views_query",
"options": []
},
"path": "admin/vbo",
"menu": {
"type": "normal",
"title": "VBO",
"description": "",
"name": "management",
"weight": "0",
"context": 0,
"context_only_inline": 0
}
}
}
}
}
Yes, if I install VBO and then import this View, I see what you show in the screenshot. Thanks, I'll look when I can!
Views Bulk Operations provides a select all items button which looks weird: