Merge pull request #16258 from ivanmestre/fix-data-filter-reset-payment-various

Fix #16241 Date filter resets on Miscellaneous Payments
This commit is contained in:
Laurent Destailleur 2021-02-11 18:59:32 +01:00 committed by GitHub
commit a848069178
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,8 @@ $search_accountancy_account = GETPOST("search_accountancy_account");
if ($search_accountancy_account == - 1) $search_accountancy_account = '';
$search_accountancy_subledger = GETPOST("search_accountancy_subledger");
if ($search_accountancy_subledger == - 1) $search_accountancy_subledger = '';
if (empty($search_date_start)) $search_date_start = GETPOST("search_date_start", 'int');
if (empty($search_date_end)) $search_date_end = GETPOST("search_date_end", 'int');
$sortfield = GETPOST("sortfield", 'alpha');
$sortorder = GETPOST("sortorder", 'alpha');