diff --git a/paramecio/citoplasma/templates/utils/list.phtml b/paramecio/citoplasma/templates/utils/list.phtml
index 9faaa2f..fe69772 100644
--- a/paramecio/citoplasma/templates/utils/list.phtml
+++ b/paramecio/citoplasma/templates/utils/list.phtml
@@ -11,7 +11,7 @@
%def>
<%def name="set_css_arrow(simplelist, field)">
% if simplelist.order_field==field:
-
+
% endif
%def>
% if simplelist.yes_search:
diff --git a/paramecio/cromosoma/webmodel.py b/paramecio/cromosoma/webmodel.py
index 7cc0317..fe892ce 100644
--- a/paramecio/cromosoma/webmodel.py
+++ b/paramecio/cromosoma/webmodel.py
@@ -524,7 +524,7 @@ class WebModel:
# A method por count num rows affected for sql conditions
- def select_count(self, field_to_count='id', raw_query=1):
+ def select_count(self, field_to_count='id', raw_query=True):
# Connect to db
@@ -544,7 +544,7 @@ class WebModel:
#Check if foreignkeyfield
- if type(self.fields[field]).__name__=="ForeignKeyField" and raw_query==0:
+ if type(self.fields[field]).__name__=="ForeignKeyField" and raw_query==False:
table_name=self.fields[field].table_name
diff --git a/paramecio/settings/config.py.sample b/paramecio/settings/config.py.sample
index 68951db..091d2a0 100644
--- a/paramecio/settings/config.py.sample
+++ b/paramecio/settings/config.py.sample
@@ -3,6 +3,7 @@
# You need install cromosoma for use this.
from paramecio.cromosoma.webmodel import WebModel
+from importlib import import_module
# No touch it if you don't know what are you doing