You are here

views.view.search_content.yml in Open Social 8.6

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