From 66fea3dc4b20d3aa0e96395486c9030e5460cf46 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?benjamin=20melan=C3=A7on?= <ben@agaric.coop>
Date: Wed, 26 Mar 2025 09:56:51 -0400
Subject: [PATCH] Apply config change after Visitors database update

'Adds view counter for any content entity type.'
---
 config/sync/views.view.visitors.yml | 263 ++++++++++++++++++++++++++--
 1 file changed, 245 insertions(+), 18 deletions(-)

diff --git a/config/sync/views.view.visitors.yml b/config/sync/views.view.visitors.yml
index bdc2edc..618ba60 100644
--- a/config/sync/views.view.visitors.yml
+++ b/config/sync/views.view.visitors.yml
@@ -1602,7 +1602,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_day:
+          id: visitors_day
+          table: visitors
+          field: visitors_day
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -1792,7 +1805,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_day_of_month:
+          id: visitors_day_of_month
+          table: visitors
+          field: visitors_day_of_month
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -1994,7 +2020,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_day_of_month:
+          id: visitors_day_of_month
+          table: visitors
+          field: visitors_day_of_month
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options:
@@ -2168,7 +2207,24 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-      sorts: {  }
+      pager:
+        type: none
+        options:
+          offset: 0
+      sorts:
+        visitors_day_of_week:
+          id: visitors_day_of_week
+          table: visitors
+          field: visitors_day_of_week
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -2233,6 +2289,7 @@ display:
           separator: ''
           hide_empty: false
       defaults:
+        pager: false
         style: false
         row: false
         fields: false
@@ -2258,7 +2315,6 @@ display:
       max-age: -1
       contexts:
         - 'languages:language_interface'
-        - url.query_args
       tags: {  }
   day_of_week_table:
     id: day_of_week_table
@@ -2366,7 +2422,24 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-      sorts: {  }
+      pager:
+        type: none
+        options:
+          offset: 0
+      sorts:
+        visitors_day_of_week:
+          id: visitors_day_of_week
+          table: visitors
+          field: visitors_day_of_week
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options:
@@ -2407,6 +2480,7 @@ display:
           hide_empty: false
       defaults:
         title: false
+        pager: false
         style: false
         row: false
         fields: false
@@ -3452,7 +3526,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_hour:
+          id: visitors_hour
+          table: visitors
+          field: visitors_hour
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -3654,7 +3741,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_hour:
+          id: visitors_hour
+          table: visitors
+          field: visitors_hour
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options:
@@ -4097,7 +4197,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitor_localtime:
+          id: visitor_localtime
+          table: visitors
+          field: visitor_localtime
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -4299,7 +4412,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitor_localtime:
+          id: visitor_localtime
+          table: visitors
+          field: visitor_localtime
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options:
@@ -4473,7 +4599,24 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-      sorts: {  }
+      pager:
+        type: none
+        options:
+          offset: 0
+      sorts:
+        visitors_month:
+          id: visitors_month
+          table: visitors
+          field: visitors_month
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -4538,6 +4681,7 @@ display:
           separator: ''
           hide_empty: false
       defaults:
+        pager: false
         style: false
         row: false
         fields: false
@@ -4563,7 +4707,6 @@ display:
       max-age: -1
       contexts:
         - 'languages:language_interface'
-        - url.query_args
       tags: {  }
   monthly_table:
     id: monthly_table
@@ -4671,7 +4814,24 @@ display:
           hide_empty: false
           empty_zero: false
           hide_alter_empty: true
-      sorts: {  }
+      pager:
+        type: none
+        options:
+          offset: 0
+      sorts:
+        visitors_month:
+          id: visitors_month
+          table: visitors
+          field: visitors_month
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options:
@@ -4712,6 +4872,7 @@ display:
           hide_empty: false
       defaults:
         title: false
+        pager: false
         style: false
         row: false
         fields: false
@@ -5470,7 +5631,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_day:
+          id: visitors_day
+          table: visitors
+          field: visitors_day
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -5989,7 +6163,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_hour:
+          id: visitors_hour
+          table: visitors
+          field: visitors_hour
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -6508,7 +6695,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_week:
+          id: visitors_week
+          table: visitors
+          field: visitors_week
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -7599,6 +7799,7 @@ display:
       contexts:
         - 'languages:language_interface'
         - url
+        - url.path
         - url.query_args
       tags: {  }
   top_host_table:
@@ -8270,7 +8471,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_week:
+          id: visitors_week
+          table: visitors
+          field: visitors_week
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: chart
         options:
@@ -8460,7 +8674,20 @@ display:
         type: none
         options:
           offset: 0
-      sorts: {  }
+      sorts:
+        visitors_week:
+          id: visitors_week
+          table: visitors
+          field: visitors_week
+          relationship: none
+          group_type: group
+          admin_label: ''
+          plugin_id: visitors_timestamp
+          order: ASC
+          expose:
+            label: ''
+            field_identifier: ''
+          exposed: false
       style:
         type: table
         options: