You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,13 @@ CKAN version | Compatibility
47
47
### Configuration
48
48
49
49
[Optional]
50
-
`ckanext.datagovtheme.js_recent_view = true`
50
+
`ckanext.datagovtheme.harvest_next = false`
51
+
52
+
By default, this setting is `false`. The template relies on `ckanext-harvest` to display Harvest Object and Harvest Source information in the **Metadata Source** block. For catalog-next, datasets are added via API calls, eliminating the need for the `ckanext-harvest` dependency. Set this to `true` for the harvest_next version of the **Metadata Source** block.
53
+
54
+
55
+
[Optional]
56
+
`ckanext.datagovtheme.js_recent_view = false`
51
57
52
58
53
59
This defaults to `false`. If displaying the recent view count slows down page loading, the optional parameter can be set to `true` to make the recent view count an AJAX call, improving page loading speed. If the recent view count information (package['tracking_summary']) is already present, the AJAX call is disabled to reduce overhead. Therefore, the built-in recent view count rendering must be disabled for this mechanism to take effect. For catalog.data.gov, it means set setting `ckanext.datagovcatalog.add_packages_tracking_info` to false.
0 commit comments