From 7b65b7d8c00a96732cca751e7806ef478aaefaf6 Mon Sep 17 00:00:00 2001 From: Michael Stenta Date: Wed, 26 Jan 2022 12:10:06 -0500 Subject: [PATCH] Only show "Export CSV" link on "All" and "By type" quantity displays. --- .../install/views.view.farm_quantity.yml | 58 +++++++++++++++---- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/modules/core/ui/views/config/install/views.view.farm_quantity.yml b/modules/core/ui/views/config/install/views.view.farm_quantity.yml index c59d73df..30fe1692 100644 --- a/modules/core/ui/views/config/install/views.view.farm_quantity.yml +++ b/modules/core/ui/views/config/install/views.view.farm_quantity.yml @@ -1480,17 +1480,6 @@ display: plugin_id: result empty: false content: 'Displaying @start - @end of @total' - display_link: - id: display_link - table: views - field: display_link - relationship: none - group_type: group - admin_label: '' - plugin_id: display_link - label: 'Export CSV' - empty: false - display_id: csv display_extenders: { } cache_metadata: max-age: -1 @@ -1558,7 +1547,31 @@ display: display_plugin: page position: 1 display_options: + defaults: + footer: false display_description: '' + footer: + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + plugin_id: result + empty: false + content: 'Displaying @start - @end of @total' + display_link: + id: display_link + table: views + field: display_link + relationship: none + group_type: group + admin_label: '' + plugin_id: display_link + label: 'Export CSV' + empty: false + display_id: csv display_extenders: { } path: quantities menu: @@ -1634,7 +1647,30 @@ display: break_phrase: false defaults: arguments: false + footer: false display_description: '' + footer: + result: + id: result + table: views + field: result + relationship: none + group_type: group + admin_label: '' + plugin_id: result + empty: false + content: 'Displaying @start - @end of @total' + display_link: + id: display_link + table: views + field: display_link + relationship: none + group_type: group + admin_label: '' + plugin_id: display_link + label: 'Export CSV' + empty: false + display_id: csv display_extenders: { } path: quantities/% cache_metadata: