瀏覽代碼

rolled back taxonomy_term_list track_list patch

bach 2 月之前
父節點
當前提交
2c6e2b6230
共有 2 個文件被更改,包括 11 次插入9 次删除
  1. 3 3
      composer.json
  2. 8 6
      config/sync/core.entity_form_display.node.materiau.default.yml

+ 3 - 3
composer.json

@@ -277,6 +277,9 @@
             },
             "drupal/views_ef_fieldset": {
               "Exposed operators are not included in fieldsets https://www.drupal.org/project/views_ef_fieldset/issues/3173822": "https://git.drupalcode.org/project/views_ef_fieldset/-/merge_requests/1/diffs.patch"
+            },
+            "drupal/term_reference_tree": {
+              "Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2024-08-26/term_reference_tree-3064280_bring_back_tracklist-22.patch"
             }
         },
         "archived-patches": {
@@ -299,9 +302,6 @@
           },
           "drupal/mailjet": {
             "https://www.drupal.org/project/mailjet/issues/3325412":"https://www.drupal.org/files/issues/2022-12-05/mailjet-list_instead_of_listid.patch"
-          },
-          "drupal/term_reference_tree": {
-            "Term Reference Tree: Re-implement Track List https://www.drupal.org/project/term_reference_tree/issues/3064280": "https://www.drupal.org/files/issues/2022-02-07/3064280_bring_back_tracklist-16.patch"
           }
         },
         "drupal-scaffold": {

+ 8 - 6
config/sync/core.entity_form_display.node.materiau.default.yml

@@ -31,7 +31,7 @@ dependencies:
     - image
     - materio_samples
     - path
-    - straw
+    - term_reference_tree
     - text
     - video_embed_field
 third_party_settings:
@@ -306,14 +306,16 @@ content:
       placeholder: ''
     third_party_settings: {  }
   field_thesaurus:
-    type: super_term_reference_autocomplete_widget
+    type: term_reference_tree
     weight: 35
     region: content
     settings:
-      match_operator: STARTS_WITH
-      match_limit: '0'
-      size: '60'
-      placeholder: ''
+      start_minimized: false
+      leaves_only: false
+      select_parents: false
+      cascading_selection: 0
+      max_depth: 0
+      track_list: '1'
     third_party_settings: {  }
   field_video:
     type: video_embed_field_textfield