diff --git a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getAdvancedSearchResults.xml b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getAdvancedSearchResults.xml index 52054cf24b237ca64faa05eb981a5929b5554173..09990fa5357322a94e350283b75764d403b9c65a 100644 --- a/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getAdvancedSearchResults.xml +++ b/bt5/erp5_dms/SkinTemplateItem/portal_skins/erp5_dms/DMS_getAdvancedSearchResults.xml @@ -123,13 +123,13 @@ mt=kw.get(\'modification_to\')\n \n wheres=[]\n if cf:\n - wheres.append(\'creation_date>"\'+str(cf)+\'"\')\n + wheres.append(\'creation_date>"\'+cf.strftime(\'%Y-%m-%d\')+\'"\')\n if ct:\n - wheres.append(\'creation_date<"\'+str(ct)+\'"\')\n + wheres.append(\'creation_date<"\'+cf.strftime(\'%Y-%m-%d\')+\'"\')\n if mf:\n - wheres.append(\'modification_date>"\'+str(mf)+\'"\')\n + wheres.append(\'modification_date>"\'+cf.strftime(\'%Y-%m-%d\')+\'"\')\n if mt:\n - wheres.append(\'modification_date<"\'+str(mt)+\'"\')\n + wheres.append(\'modification_date<"\'+cf.strftime(\'%Y-%m-%d\')+\'"\')\n if wheres!=[]:\n kw[\'where_expression\']=\' AND \'.join(wheres)\n \n diff --git a/bt5/erp5_dms/bt/revision b/bt5/erp5_dms/bt/revision index 1c3e15e55e92fba0f98a8c87b771de24437edeb2..3456e74000401a820209fdc26849d62897a55461 100644 --- a/bt5/erp5_dms/bt/revision +++ b/bt5/erp5_dms/bt/revision @@ -1 +1 @@ -371 \ No newline at end of file +372 \ No newline at end of file