瀏覽代碼

fixe author filter for user contents #2114

bach 1 年之前
父節點
當前提交
1215e0ae3e
共有 1 個文件被更改,包括 39 次插入1 次删除
  1. 39 1
      src/config/sync/views.view.user_contents.yml

+ 39 - 1
src/config/sync/views.view.user_contents.yml

@@ -303,7 +303,43 @@ display:
             field_identifier: ''
             field_identifier: ''
           exposed: false
           exposed: false
           granularity: second
           granularity: second
-      arguments: {  }
+      arguments:
+        uid:
+          id: uid
+          table: node_field_data
+          field: uid
+          relationship: none
+          group_type: group
+          admin_label: ''
+          entity_type: node
+          entity_field: uid
+          plugin_id: numeric
+          default_action: default
+          exception:
+            value: all
+            title_enable: false
+            title: All
+          title_enable: false
+          title: ''
+          default_argument_type: node
+          default_argument_options: {  }
+          default_argument_skip_url: false
+          summary_options:
+            base_path: ''
+            count: true
+            override: false
+            items_per_page: 25
+          summary:
+            sort_order: asc
+            number_of_records: 0
+            format: default_summary
+          specify_validation: false
+          validate:
+            type: none
+            fail: 'not found'
+          validate_options: {  }
+          break_phrase: false
+          not: false
       filters:
       filters:
         type:
         type:
           id: type
           id: type
@@ -394,6 +430,7 @@ display:
       contexts:
       contexts:
         - 'languages:language_content'
         - 'languages:language_content'
         - 'languages:language_interface'
         - 'languages:language_interface'
+        - url
         - url.query_args
         - url.query_args
         - 'user.node_grants:view'
         - 'user.node_grants:view'
         - user.permissions
         - user.permissions
@@ -422,6 +459,7 @@ display:
       contexts:
       contexts:
         - 'languages:language_content'
         - 'languages:language_content'
         - 'languages:language_interface'
         - 'languages:language_interface'
+        - url
         - url.query_args
         - url.query_args
         - 'user.node_grants:view'
         - 'user.node_grants:view'
         - user.permissions
         - user.permissions