You are here

views.view.search_content.yml in Open Social 10.0.x

modules/social_features/social_search/config/install/views.view.search_content.yml

File

modules/social_features/social_search/config/install/views.view.search_content.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - search_api.index.social_content
  6. module:
  7. - better_exposed_filters
  8. - search_api
  9. - social_search
  10. - user
  11. _core:
  12. default_config_hash: a19IcAteq_kDlYZTbWZgPHGMlmh_tGlBa_F0086x3bw
  13. id: search_content
  14. label: 'Search Content'
  15. module: views
  16. description: ''
  17. tag: ''
  18. base_table: search_api_index_social_content
  19. base_field: search_api_id
  20. display:
  21. default:
  22. display_plugin: default
  23. id: default
  24. display_title: Master
  25. position: 0
  26. display_options:
  27. access:
  28. type: perm
  29. options:
  30. perm: 'access content search'
  31. cache:
  32. type: none
  33. options: { }
  34. query:
  35. type: views_query
  36. options:
  37. bypass_access: false
  38. skip_access: false
  39. parse_mode: terms
  40. exposed_form:
  41. type: bef
  42. options:
  43. submit_button: Apply
  44. reset_button: true
  45. reset_button_label: Reset
  46. exposed_sorts_label: Sort
  47. expose_sort_order: true
  48. sort_asc_label: (ascending)
  49. sort_desc_label: (descending)
  50. input_required: false
  51. text_input_required: 'Select any filter and click on Apply to see results'
  52. bef:
  53. general:
  54. allow_secondary: false
  55. secondary_label: 'Advanced options'
  56. autosubmit: false
  57. autosubmit_exclude_textfield: false
  58. autosubmit_hide: false
  59. sort:
  60. bef_format: default
  61. advanced:
  62. collapsible: false
  63. collapsible_label: Sort
  64. combine: true
  65. combine_rewrite: "Relevance (ascending)|Least relevant first\r\nRelevance (descending)|Most relevant first\r\nCreated date (ascending)|Least recent first\r\nCreated date (descending)|Most recent first\r\nTitle (ascending)|A - Z\r\nTitle (descending)|Z - A"
  66. reset: false
  67. reset_label: ''
  68. is_secondary: false
  69. type:
  70. bef_format: default
  71. more_options:
  72. bef_select_all_none: false
  73. bef_collapsible: false
  74. is_secondary: false
  75. rewrite:
  76. filter_rewrite_values: ''
  77. field_event_date:
  78. bef_format: default
  79. more_options:
  80. is_secondary: false
  81. text_input_required_format: basic_html
  82. pager:
  83. type: full
  84. options:
  85. items_per_page: 10
  86. offset: 0
  87. id: 0
  88. total_pages: null
  89. expose:
  90. items_per_page: false
  91. items_per_page_label: 'Items per page'
  92. items_per_page_options: '5, 10, 25, 50'
  93. items_per_page_options_all: false
  94. items_per_page_options_all_label: '- All -'
  95. offset: false
  96. offset_label: Offset
  97. tags:
  98. previous: '‹ Previous'
  99. next: 'Next ›'
  100. first: '« First'
  101. last: 'Last »'
  102. quantity: 9
  103. style:
  104. type: default
  105. row:
  106. type: search_api
  107. options:
  108. view_modes:
  109. 'entity:node':
  110. book: teaser
  111. event: teaser
  112. page: teaser
  113. topic: teaser
  114. fields:
  115. search_api_language:
  116. table: search_api_index_social_content
  117. field: search_api_language
  118. id: search_api_language
  119. entity_type: null
  120. entity_field: null
  121. plugin_id: search_api
  122. relationship: none
  123. group_type: group
  124. admin_label: ''
  125. label: ''
  126. exclude: false
  127. alter:
  128. alter_text: false
  129. text: ''
  130. make_link: false
  131. path: ''
  132. absolute: false
  133. external: false
  134. replace_spaces: false
  135. path_case: none
  136. trim_whitespace: false
  137. alt: ''
  138. rel: ''
  139. link_class: ''
  140. prefix: ''
  141. suffix: ''
  142. target: ''
  143. nl2br: false
  144. max_length: 0
  145. word_boundary: true
  146. ellipsis: true
  147. more_link: false
  148. more_link_text: ''
  149. more_link_path: ''
  150. strip_tags: false
  151. trim: false
  152. preserve_tags: ''
  153. html: false
  154. element_type: ''
  155. element_class: ''
  156. element_label_type: ''
  157. element_label_class: ''
  158. element_label_colon: true
  159. element_wrapper_type: ''
  160. element_wrapper_class: ''
  161. element_default_classes: true
  162. empty: ''
  163. hide_empty: false
  164. empty_zero: false
  165. hide_alter_empty: true
  166. link_to_item: false
  167. multi_type: separator
  168. multi_separator: ', '
  169. filters:
  170. type:
  171. id: type
  172. table: search_api_index_social_content
  173. field: type
  174. relationship: none
  175. group_type: group
  176. admin_label: ''
  177. operator: or
  178. value: { }
  179. group: 1
  180. exposed: true
  181. expose:
  182. operator_id: type_op
  183. label: 'Content type'
  184. description: ''
  185. use_operator: false
  186. operator: type_op
  187. identifier: type
  188. required: false
  189. remember: false
  190. multiple: false
  191. remember_roles:
  192. authenticated: authenticated
  193. anonymous: '0'
  194. administrator: '0'
  195. reduce: false
  196. operator_limit_selection: false
  197. operator_list: { }
  198. is_grouped: false
  199. group_info:
  200. label: ''
  201. description: ''
  202. identifier: ''
  203. optional: true
  204. widget: select
  205. multiple: false
  206. remember: false
  207. default_group: All
  208. default_group_multiple: { }
  209. group_items: { }
  210. reduce_duplicates: false
  211. plugin_id: search_api_options
  212. field_event_date:
  213. id: field_event_date
  214. table: search_api_index_social_content
  215. field: field_event_date
  216. relationship: none
  217. group_type: group
  218. admin_label: 'Date exposed'
  219. operator: '<'
  220. value:
  221. min: ''
  222. max: ''
  223. value: ''
  224. type: date
  225. group: 1
  226. exposed: true
  227. expose:
  228. operator_id: field_event_date_op
  229. label: Start
  230. description: ''
  231. use_operator: true
  232. operator: field_event_date_op
  233. identifier: field_event_date
  234. required: false
  235. remember: false
  236. multiple: false
  237. remember_roles:
  238. authenticated: authenticated
  239. anonymous: '0'
  240. administrator: '0'
  241. contentmanager: '0'
  242. sitemanager: '0'
  243. placeholder: ''
  244. min_placeholder: ''
  245. max_placeholder: ''
  246. operator_limit_selection: false
  247. operator_list: { }
  248. is_grouped: false
  249. group_info:
  250. label: Start
  251. description: ''
  252. identifier: field_event_date
  253. optional: true
  254. widget: select
  255. multiple: false
  256. remember: false
  257. default_group: All
  258. default_group_multiple: { }
  259. group_items:
  260. 1:
  261. title: Between
  262. operator: between
  263. value:
  264. type: offset
  265. value: ''
  266. min: now
  267. max: 'now +1 day'
  268. 2:
  269. title: Before
  270. operator: '<'
  271. value:
  272. type: date
  273. value: now
  274. min: ''
  275. max: ''
  276. 3:
  277. title: After
  278. operator: '>'
  279. value:
  280. type: date
  281. value: now
  282. min: ''
  283. max: ''
  284. plugin_id: search_api_date
  285. sorts:
  286. search_api_relevance:
  287. id: search_api_relevance
  288. table: search_api_index_social_content
  289. field: search_api_relevance
  290. relationship: none
  291. group_type: group
  292. admin_label: ''
  293. order: DESC
  294. exposed: true
  295. expose:
  296. label: Relevance
  297. plugin_id: search_api
  298. created:
  299. id: created
  300. table: search_api_index_social_content
  301. field: created
  302. relationship: none
  303. group_type: group
  304. admin_label: ''
  305. order: DESC
  306. exposed: true
  307. expose:
  308. label: 'Created date'
  309. plugin_id: search_api
  310. title:
  311. id: title
  312. table: search_api_index_social_content
  313. field: title
  314. relationship: none
  315. group_type: group
  316. admin_label: ''
  317. order: ASC
  318. exposed: true
  319. expose:
  320. label: Title
  321. plugin_id: search_api
  322. title: 'Search content'
  323. header:
  324. area:
  325. id: area
  326. table: views
  327. field: area
  328. relationship: none
  329. group_type: group
  330. admin_label: ''
  331. empty: true
  332. tokenize: false
  333. content:
  334. value: '<h4>Content results</h4>'
  335. format: basic_html
  336. plugin_id: text
  337. footer: { }
  338. empty:
  339. area:
  340. id: area
  341. table: views
  342. field: area
  343. relationship: none
  344. group_type: group
  345. admin_label: ''
  346. empty: true
  347. tokenize: false
  348. content:
  349. value: 'No results found.'
  350. format: basic_html
  351. plugin_id: text
  352. relationships: { }
  353. arguments:
  354. search_api_fulltext:
  355. id: search_api_fulltext
  356. table: search_api_index_social_content
  357. field: search_api_fulltext
  358. relationship: none
  359. group_type: group
  360. admin_label: ''
  361. default_action: ignore
  362. exception:
  363. value: all
  364. title_enable: false
  365. title: All
  366. title_enable: false
  367. title: ''
  368. default_argument_type: fixed
  369. default_argument_options:
  370. argument: all
  371. default_argument_skip_url: false
  372. summary_options: null
  373. summary:
  374. sort_order: asc
  375. number_of_records: 0
  376. format: default_summary
  377. specify_validation: false
  378. validate:
  379. type: none
  380. fail: 'not found'
  381. validate_options: { }
  382. break_phrase: false
  383. not: false
  384. parse_mode: terms
  385. fields: { }
  386. conjunction: AND
  387. plugin_id: search_api_fulltext
  388. display_extenders: { }
  389. use_ajax: false
  390. filter_groups:
  391. operator: AND
  392. groups: { }
  393. cache_metadata:
  394. max-age: -1
  395. contexts:
  396. - 'languages:language_interface'
  397. - url
  398. - url.query_args
  399. - 'url.query_args:sort_by'
  400. - 'url.query_args:sort_order'
  401. - user.permissions
  402. tags: { }
  403. page:
  404. display_plugin: page
  405. id: page
  406. display_title: Page
  407. position: 1
  408. display_options:
  409. display_extenders: { }
  410. path: search/content/%keys
  411. exposed_block: true
  412. header:
  413. area:
  414. id: area
  415. table: views
  416. field: area
  417. relationship: none
  418. group_type: group
  419. admin_label: ''
  420. empty: true
  421. tokenize: true
  422. content:
  423. value: '<h4>Content results</h4>'
  424. format: full_html
  425. plugin_id: text
  426. defaults:
  427. header: false
  428. cache_metadata:
  429. max-age: -1
  430. contexts:
  431. - 'languages:language_interface'
  432. - url
  433. - url.query_args
  434. - 'url.query_args:sort_by'
  435. - 'url.query_args:sort_order'
  436. - user.permissions
  437. tags: { }
  438. page_no_value:
  439. display_plugin: page
  440. id: page_no_value
  441. display_title: 'Page (no value)'
  442. position: 1
  443. display_options:
  444. display_extenders: { }
  445. path: search/content
  446. exposed_block: true
  447. menu:
  448. type: tab
  449. title: Content
  450. description: ''
  451. expanded: false
  452. parent: ''
  453. weight: 0
  454. context: '0'
  455. menu_name: main
  456. tab_options:
  457. type: none
  458. title: ''
  459. description: ''
  460. weight: 0
  461. cache_metadata:
  462. max-age: -1
  463. contexts:
  464. - 'languages:language_interface'
  465. - url
  466. - url.query_args
  467. - 'url.query_args:sort_by'
  468. - 'url.query_args:sort_order'
  469. - user.permissions
  470. tags: { }