Browse Source

[EmField] Modification AddColumn + test ranked_in dans Components repassé temporairement à -1

Roland Haroutiounian 9 years ago
parent
commit
43bb085667
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      EditorialModel/components.py

+ 2
- 2
EditorialModel/components.py View File

@@ -175,8 +175,8 @@ class EmComponent(object):
175 175
         dbe = cls.db_engine()
176 176
         conn = dbe.connect()
177 177
 
178
-        kwargs['rank'] = cls.get_max_rank(kwargs[cls.ranked_in]) + 1 #Warning !!!
179
-
178
+        #kwargs['rank'] = cls.get_max_rank(kwargs[cls.ranked_in]) + 1 #Warning !!!
179
+        kwargs['rank'] = -1
180 180
 
181 181
         table = sql.Table(cls.table, sqlutils.meta(dbe))
182 182
         req = table.insert(kwargs)

Loading…
Cancel
Save