06/05/22 - 10h30
parent
c96a675925
commit
2bb0969d20
|
@ -669,7 +669,7 @@ def get_article_avis_alaune(diction):
|
|||
for x in coll_name.find({'valide': '1', 'locked': '0', 'isalaune': '1'},
|
||||
{"_id": 0, "indexed": 0, "indexed_desc": 0, "indexed_obj": 0, "isalaune": 0,
|
||||
"valide": 0, "locked": 0, }).sort(
|
||||
[("date_avis", pymongo.ASCENDING), ("title_formation", pymongo.ASCENDING)]):
|
||||
[ ("note", pymongo.DESCENDING), ("date_avis", pymongo.DESCENDING),]):
|
||||
|
||||
val = x['qualite']
|
||||
if (len(x['qualite']) > MYSY_GV.MAX_CARACT_DEDUIT):
|
||||
|
|
|
@ -105,6 +105,12 @@ def add_user_message(diction):
|
|||
if diction['recever_mail']:
|
||||
new_diction['recever_mail'] = diction['recever_mail']
|
||||
|
||||
|
||||
if ("recever_tel" in diction.keys()):
|
||||
if diction['recever_tel']:
|
||||
new_diction['recever_tel'] = diction['recever_tel']
|
||||
|
||||
|
||||
if ("object" in diction.keys()):
|
||||
if diction['object']:
|
||||
new_diction['object'] = diction['object']
|
||||
|
|
Loading…
Reference in New Issue