From e05230084b12e01ef663e91271eaad675eddeed6 Mon Sep 17 00:00:00 2001
From: anonymous <anonymous>
Date: Thu, 18 Apr 2019 12:39:28 +0200
Subject: [PATCH] remove slave check

---
 ckanext/odsh/plugin.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ckanext/odsh/plugin.py b/ckanext/odsh/plugin.py
index d93525fd..1776c4dc 100644
--- a/ckanext/odsh/plugin.py
+++ b/ckanext/odsh/plugin.py
@@ -382,7 +382,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
                     dict_pkg['openness']=OdshPlugin.scores[score-1]
 
 
-    @precondition.not_on_slave
+    #@precondition.not_on_slave
     def before_index(self, dict_pkg):
         # make special date fields solr conform
         fields = ["issued", "temporal_start", "temporal_end"]
-- 
GitLab