mirror of
https://github.com/yweber/lodel2.git
synced 2025-11-22 21:56:54 +01:00
[EmField] Modification AddColumn + test ranked_in dans Components repassé temporairement à -1
This commit is contained in:
parent
e46ca292c8
commit
43bb085667
1 changed files with 2 additions and 2 deletions
|
|
@ -175,8 +175,8 @@ class EmComponent(object):
|
||||||
dbe = cls.db_engine()
|
dbe = cls.db_engine()
|
||||||
conn = dbe.connect()
|
conn = dbe.connect()
|
||||||
|
|
||||||
kwargs['rank'] = cls.get_max_rank(kwargs[cls.ranked_in]) + 1 #Warning !!!
|
#kwargs['rank'] = cls.get_max_rank(kwargs[cls.ranked_in]) + 1 #Warning !!!
|
||||||
|
kwargs['rank'] = -1
|
||||||
|
|
||||||
table = sql.Table(cls.table, sqlutils.meta(dbe))
|
table = sql.Table(cls.table, sqlutils.meta(dbe))
|
||||||
req = table.insert(kwargs)
|
req = table.insert(kwargs)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue