From 44836dad0d62efb5e157765a23eb4bcf4f5aba20 Mon Sep 17 00:00:00 2001
From: Daniel Neuwirth <daniel.neuwirth@dataport.de>
Date: Tue, 16 Jul 2019 14:07:28 +0000
Subject: [PATCH] Filter Herausgeber, Kategorie und Infromationsgegenstand

---
 ckanext/odsh/plugin.py | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index 884f94ff..09580aba 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -379,10 +379,14 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
 
     def dataset_facets(self, facets_dict, package_type):
         return OrderedDict({'organization': _('Herausgeber'),
-                            'res_format': _('Dateiformat'),
-                            'license_title': _('Lizenz'),
+                            #'res_format': _('Dateiformat'),
                             'groups': _('Kategorie'),
-                            'openness': _('Open-Data-Eigenschaften')})
+                            #'license_title': _('Lizenz'),
+                            #'openness': _('Open-Data-Eigenschaften'),
+                            'subject': _('Informationsgegenstand')
+                            })
+
+                            
 
     def organization_facets(self, facets_dict, organization_type, package_type):
         return OrderedDict({'organization': _('Herausgeber'),
-- 
GitLab