diff --git a/htdocs/multicurrency/multicurrency_rate.php b/htdocs/multicurrency/multicurrency_rate.php
index b8aaf0064c8..21d64734f8b 100644
--- a/htdocs/multicurrency/multicurrency_rate.php
+++ b/htdocs/multicurrency/multicurrency_rate.php
@@ -396,8 +396,8 @@ if ($resql)
if (!empty($arrayfields['cr.date_sync']['checked']))
{
print '
';
- print $form->selectDate($search_date_sync, 'search_date_sync', 0, 0, 1);
- print $form->selectDate($search_date_sync_end, 'search_date_sync_end', 0, 0, 1);
+ print $form->selectDate(dol_print_date($search_date_sync, "%Y-%m-%d" ), 'search_date_sync', 0, 0, 1);
+ print $form->selectDate(dol_print_date($search_date_sync_end, "%Y-%m-%d"), 'search_date_sync_end', 0, 0, 1);
print ' | ';
}
// code
@@ -503,7 +503,7 @@ if ($resql)
{
$selected = 0;
if (in_array($obj->rowid, $arrayofselected)) $selected = 1;
- print 'rowid.'">'.img_picto('edit', 'edit').'';
+ print 'rowid.'&page='.$page.'&sortorder='.$sortorder.'&sortfield='.$sortfield.'&search_code='.$search_code.'&search_rate='.$search_rate.'&search_date_sync='.dol_print_date($search_date_sync, "%Y-%m-%d") .'&search_date_sync_end='.dol_print_date($search_date_sync_end, "%Y-%m-%d") .'&edit_mode='. '1'. '">'.img_picto('edit', 'edit').'';
print 'rowid.'">'.img_picto('delete', 'delete').'';
print '';
}