You are here

views.view.search_users.yml in Open Social 8

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

File

modules/social_features/social_search/config/install/views.view.search_users.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies:
  4. config:
  5. - search_api.index.social_users
  6. - taxonomy.vocabulary.expertise
  7. - taxonomy.vocabulary.interests
  8. - taxonomy.vocabulary.profile_tag
  9. module:
  10. - search_api
  11. - user
  12. id: search_users
  13. label: 'Search Users'
  14. module: views
  15. description: ''
  16. tag: ''
  17. base_table: search_api_index_social_users
  18. base_field: search_api_id
  19. core: 8.x
  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 users 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: basic
  42. options:
  43. submit_button: Filter
  44. reset_button: true
  45. reset_button_label: Reset
  46. exposed_sorts_label: 'Sort by'
  47. expose_sort_order: true
  48. sort_asc_label: Asc
  49. sort_desc_label: Desc
  50. pager:
  51. type: full
  52. options:
  53. items_per_page: 10
  54. offset: 0
  55. id: 0
  56. total_pages: null
  57. tags:
  58. previous: ‹‹
  59. next: ››
  60. first: '« First'
  61. last: 'Last »'
  62. expose:
  63. items_per_page: false
  64. items_per_page_label: 'Items per page'
  65. items_per_page_options: '5, 10, 25, 50'
  66. items_per_page_options_all: false
  67. items_per_page_options_all_label: '- All -'
  68. offset: false
  69. offset_label: Offset
  70. quantity: 9
  71. style:
  72. type: default
  73. row:
  74. type: search_api
  75. options:
  76. view_modes:
  77. 'entity:profile':
  78. main: ''
  79. profile: teaser
  80. fields:
  81. search_api_language:
  82. table: search_api_index_social_users
  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. field_profile_expertise:
  137. id: field_profile_expertise
  138. table: search_api_index_social_users
  139. field: field_profile_expertise
  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: field_profile_expertise_op
  149. label: Expertise
  150. description: 'Separate multiple values by a comma.'
  151. use_operator: false
  152. operator: field_profile_expertise_op
  153. identifier: expertise
  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. type: textfield
  176. limit: true
  177. vid: expertise
  178. hierarchy: false
  179. error_message: true
  180. plugin_id: search_api_term
  181. field_profile_interests:
  182. id: field_profile_interests
  183. table: search_api_index_social_users
  184. field: field_profile_interests
  185. relationship: none
  186. group_type: group
  187. admin_label: ''
  188. operator: or
  189. value: { }
  190. group: 1
  191. exposed: true
  192. expose:
  193. operator_id: field_profile_interests_op
  194. label: Interests
  195. description: 'Separate multiple values by a comma.'
  196. use_operator: false
  197. operator: field_profile_interests_op
  198. identifier: interests
  199. required: false
  200. remember: false
  201. multiple: false
  202. remember_roles:
  203. authenticated: authenticated
  204. anonymous: '0'
  205. administrator: '0'
  206. reduce: false
  207. is_grouped: false
  208. group_info:
  209. label: ''
  210. description: ''
  211. identifier: ''
  212. optional: true
  213. widget: select
  214. multiple: false
  215. remember: false
  216. default_group: All
  217. default_group_multiple: { }
  218. group_items: { }
  219. reduce_duplicates: false
  220. type: textfield
  221. limit: true
  222. vid: interests
  223. hierarchy: false
  224. error_message: true
  225. plugin_id: search_api_term
  226. field_profile_profile_tag:
  227. id: field_profile_profile_tag
  228. table: search_api_index_social_users
  229. field: field_profile_profile_tag
  230. relationship: none
  231. group_type: group
  232. admin_label: ''
  233. operator: or
  234. value: { }
  235. group: 1
  236. exposed: true
  237. expose:
  238. operator_id: field_profile_profile_tag_op
  239. label: 'Profile tag'
  240. description: ''
  241. use_operator: false
  242. operator: field_profile_profile_tag_op
  243. identifier: profile_tag
  244. required: false
  245. remember: false
  246. multiple: true
  247. remember_roles:
  248. authenticated: authenticated
  249. anonymous: '0'
  250. administrator: '0'
  251. contentmanager: '0'
  252. sitemanager: '0'
  253. reduce: false
  254. is_grouped: false
  255. group_info:
  256. label: ''
  257. description: ''
  258. identifier: ''
  259. optional: true
  260. widget: select
  261. multiple: false
  262. remember: false
  263. default_group: All
  264. default_group_multiple: { }
  265. group_items: { }
  266. reduce_duplicates: false
  267. type: select
  268. limit: true
  269. vid: profile_tag
  270. hierarchy: false
  271. error_message: false
  272. plugin_id: search_api_term
  273. sorts:
  274. search_api_relevance:
  275. id: search_api_relevance
  276. table: search_api_index_social_users
  277. field: search_api_relevance
  278. relationship: none
  279. group_type: group
  280. admin_label: ''
  281. order: DESC
  282. exposed: false
  283. expose:
  284. label: ''
  285. plugin_id: search_api
  286. title: 'Search users'
  287. header:
  288. area:
  289. id: area
  290. table: views
  291. field: area
  292. relationship: none
  293. group_type: group
  294. admin_label: ''
  295. empty: true
  296. tokenize: true
  297. content:
  298. value: '<h4 class="section-title">Member results</h4>'
  299. format: full_html
  300. plugin_id: text
  301. footer: { }
  302. empty:
  303. area:
  304. id: area
  305. table: views
  306. field: area
  307. relationship: none
  308. group_type: group
  309. admin_label: ''
  310. empty: true
  311. tokenize: false
  312. content:
  313. value: 'No results found.'
  314. format: basic_html
  315. plugin_id: text
  316. relationships: { }
  317. arguments:
  318. search_api_fulltext:
  319. id: search_api_fulltext
  320. table: search_api_index_social_users
  321. field: search_api_fulltext
  322. relationship: none
  323. group_type: group
  324. admin_label: ''
  325. default_action: ignore
  326. exception:
  327. value: all
  328. title_enable: false
  329. title: All
  330. title_enable: false
  331. title: ''
  332. default_argument_type: fixed
  333. default_argument_options:
  334. argument: ''
  335. default_argument_skip_url: true
  336. summary_options: null
  337. summary:
  338. sort_order: asc
  339. number_of_records: 0
  340. format: default_summary
  341. specify_validation: false
  342. validate:
  343. type: none
  344. fail: 'not found'
  345. validate_options: { }
  346. break_phrase: false
  347. not: false
  348. fields: { }
  349. conjunction: AND
  350. plugin_id: search_api_fulltext
  351. display_extenders: { }
  352. cache_metadata:
  353. max-age: -1
  354. contexts:
  355. - 'languages:language_interface'
  356. - url
  357. - url.query_args
  358. - user
  359. - user.permissions
  360. tags: { }
  361. page:
  362. display_plugin: page
  363. id: page
  364. display_title: Page
  365. position: 1
  366. display_options:
  367. display_extenders: { }
  368. path: search/users/%keys
  369. exposed_block: true
  370. cache_metadata:
  371. max-age: -1
  372. contexts:
  373. - 'languages:language_interface'
  374. - url
  375. - url.query_args
  376. - user
  377. - user.permissions
  378. tags: { }
  379. page_no_value:
  380. display_plugin: page
  381. id: page_no_value
  382. display_title: 'Page (no value)'
  383. position: 1
  384. display_options:
  385. display_extenders: { }
  386. path: search/users
  387. exposed_block: true
  388. display_description: ''
  389. menu:
  390. type: tab
  391. title: Users
  392. description: ''
  393. expanded: false
  394. parent: ''
  395. weight: 0
  396. context: '0'
  397. menu_name: main
  398. header:
  399. area:
  400. id: area
  401. table: views
  402. field: area
  403. relationship: none
  404. group_type: group
  405. admin_label: ''
  406. empty: true
  407. tokenize: true
  408. content:
  409. value: '<h4 class="section-title">Member results</h4>'
  410. format: basic_html
  411. plugin_id: text
  412. defaults:
  413. header: false
  414. cache_metadata:
  415. max-age: -1
  416. contexts:
  417. - 'languages:language_interface'
  418. - url
  419. - url.query_args
  420. - user
  421. - user.permissions
  422. tags: { }