views.view.test_search.yml 6.15 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
13
base_field: nid
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
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:
        type: none
        options: {  }
      query:
        type: views_query
        options:
          disable_sql_rewrite: false
          distinct: false
34
          replica: false
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
          query_comment: false
          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
          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
76
          link_to_node: true
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
          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
92
          plugin_id: node
93 94
      filters:
        status:
95
          value: true
96 97 98 99 100
          table: node_field_data
          field: status
          id: status
          expose:
            operator: ''
101
          group: 1
102
          plugin_id: boolean
103 104 105 106 107 108 109 110 111 112 113 114 115
      sorts:
        created:
          id: created
          table: node_field_data
          field: created
          order: DESC
          relationship: none
          group_type: group
          admin_label: ''
          exposed: false
          expose:
            label: ''
          granularity: second
116
          plugin_id: date
117 118 119 120 121 122
      title: ''
      header: {  }
      footer: {  }
      empty: {  }
      relationships: {  }
      arguments: {  }
123 124
      field_langcode: '***LANGUAGE_language_content***'
      field_langcode_add_to_query: null
125 126 127 128 129 130 131 132 133
  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 144 145 146 147 148 149 150
        keys:
          id: keys
          table: node_search_index
          field: keys
          relationship: none
          group_type: group
          admin_label: ''
          operator: optional
          value: pizza
151
          group: 1
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
          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
173
            remember: false
174 175 176 177 178 179 180 181 182 183 184 185 186 187
            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'
188 189 190 191 192 193 194 195 196 197 198
      field_langcode: '***LANGUAGE_language_content***'
      field_langcode_add_to_query: null
  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 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'
      field_langcode: '***LANGUAGE_language_content***'
      field_langcode_add_to_query: null