From 70f5f194e0bc728bb44e60dd971027788f364f5e Mon Sep 17 00:00:00 2001 From: blagoja Date: Wed, 14 Aug 2024 15:46:52 +0200 Subject: [PATCH] Type of dataset hardcoded in quick add form --- ckanext/bulkupload/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ckanext/bulkupload/views.py b/ckanext/bulkupload/views.py index 2a7c880..0219a85 100644 --- a/ckanext/bulkupload/views.py +++ b/ckanext/bulkupload/views.py @@ -101,6 +101,7 @@ def package_busoperator(errors=None): 'owner_org': form_data['owner_org'], 'dataset_start_date': form_data['date-start'], 'dataset_end_date': form_data['date-end'], + 'type_of_dataset': 'txc_data', } try: x = tk.get_action("package_create")(context, data_dict)