views.view.test_search.yml 6.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11
langcode: en
status: true
dependencies:
  module:
    - node
    - user
id: test_search
label: 'Search Test'
module: views
description: 'Test view for Search integration'
tag: ''
12
base_table: node_field_data
13
base_field: nid
14 15 16 17 18 19 20 21 22 23 24 25 26
core: 8.x
display:
  default:
    display_plugin: default
    id: default
    display_title: Master
    position: 1
    display_options:
      access:
        type: perm
        options:
          perm: 'access content'
      cache:
27
        type: tag
28 29 30 31 32 33
        options: {  }
      query:
        type: views_query
        options:
          disable_sql_rewrite: false
          distinct: false
34
          replica: false
35
          query_comment: ''
36 37 38 39 40 41 42 43 44 45 46 47 48 49
          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: none
        options:
50
          items_per_page: 0
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
          offset: 0
      style:
        type: default
        options:
          grouping: {  }
          row_class: ''
          default_row_class: true
      row:
        type: fields
      fields:
        title:
          id: title
          table: node_field_data
          field: title
          alter:
            alter_text: false
            make_link: false
            absolute: false
            trim: false
            word_boundary: false
            ellipsis: false
            strip_tags: false
            html: false
          hide_empty: false
          empty_zero: false
          relationship: none
          group_type: group
          admin_label: ''
          label: Title
          exclude: false
          element_type: ''
          element_class: ''
          element_label_type: ''
          element_label_class: ''
          element_label_colon: true
          element_wrapper_type: ''
          element_wrapper_class: ''
          element_default_classes: true
          empty: ''
          hide_alter_empty: true
91 92
          entity_type: node
          entity_field: title
93 94 95 96
          plugin_id: field
          type: string
          settings:
            link_to_entity: true
97 98
      filters:
        status:
99
          value: true
100 101 102 103 104
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
105
          group: 1
106
          plugin_id: boolean
107 108
          entity_type: node
          entity_field: status
109
      sorts:
110 111 112 113
        score:
          id: score
          table: node_search_index
          field: score
114 115 116
          relationship: none
          group_type: group
          admin_label: ''
117 118
          order: DESC
          plugin_id: search_score
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
      title: ''
      header: {  }
      footer: {  }
      empty: {  }
      relationships: {  }
      arguments: {  }
  page_1:
    display_plugin: page
    id: page_1
    display_title: 'Filter Page'
    position: 1
    display_options:
      display_description: ''
      filters:
        status:
134
          value: true
135 136 137 138 139
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
140
          group: 1
141
          plugin_id: boolean
142 143
          entity_type: node
          entity_field: status
144 145 146 147 148 149 150 151 152
        keys:
          id: keys
          table: node_search_index
          field: keys
          relationship: none
          group_type: group
          admin_label: ''
          operator: optional
          value: pizza
153
          group: 1
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
          exposed: false
          expose:
            operator_id: ''
            label: ''
            description: ''
            use_operator: false
            operator: ''
            identifier: ''
            required: false
            remember: false
            multiple: false
            remember_roles:
              authenticated: authenticated
          is_grouped: false
          group_info:
            label: ''
            description: ''
            identifier: ''
            optional: true
            widget: select
            multiple: false
175
            remember: false
176 177 178 179 180 181 182 183 184 185 186 187 188 189
            default_group: All
            default_group_multiple: {  }
            group_items: {  }
          plugin_id: search_keywords
      defaults:
        filters: false
        filter_groups: false
        title: false
      filter_groups:
        operator: AND
        groups:
          1: AND
      path: test-filter
      title: 'Filter Page'
190 191 192 193 194 195 196 197 198
  page_2:
    display_plugin: page
    id: page_2
    display_title: 'Arg Page'
    position: 1
    display_options:
      display_description: ''
      filters:
        status:
199
          value: true
200 201 202 203 204 205
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
          group: 1
206
          plugin_id: boolean
207 208
          entity_type: node
          entity_field: status
209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
      defaults:
        filters: false
        filter_groups: false
        arguments: false
        title: false
      filter_groups:
        operator: AND
        groups:
          1: AND
      path: test-arg/%
      arguments:
        keys:
          id: keys
          table: node_search_index
          field: keys
          relationship: none
          group_type: group
          admin_label: ''
          default_action: 'not found'
          exception:
            value: all
            title_enable: false
            title: All
          title_enable: false
          title: ''
          default_argument_type: fixed
          default_argument_options:
            argument: ''
          default_argument_skip_url: false
          summary_options:
            base_path: ''
            count: true
            items_per_page: 25
            separator: ''
            override: false
            inline: false
          summary:
            sort_order: asc
            number_of_records: 0
            format: unformatted_summary
          specify_validation: false
          validate:
            type: none
            fail: 'not found'
          validate_options: {  }
          plugin_id: search
      title: 'Arg Page'