Filter korrigiert

This commit is contained in:
Eduard Wisch 2026-02-03 15:22:08 +01:00
parent 206aeacbc5
commit 6736b9c405
2 changed files with 16 additions and 3 deletions

View file

@ -77,6 +77,20 @@ if (empty($page) || $page < 0) {
}
$offset = $limit * $page;
// Parameter für Links (Filter erhalten)
$param = '';
$param .= '&jahr='.$jahr;
$param .= '&monat='.$monat;
if ($typ) {
$param .= '&search_typ='.urlencode($typ);
}
if ($search_ref) {
$param .= '&search_ref='.urlencode($search_ref);
}
if ($search_beschreibung) {
$param .= '&search_beschreibung='.urlencode($search_beschreibung);
}
/*
* View
*/
@ -178,8 +192,7 @@ if ($resql_count) {
}
// Filter-Formular
print '<form method="POST" action="'.$_SERVER["PHP_SELF"].'" name="searchform">';
print '<input type="hidden" name="token" value="'.newToken().'">';
print '<form method="GET" action="'.$_SERVER["PHP_SELF"].'" name="searchform">';
print '<input type="hidden" name="sortfield" value="'.$sortfield.'">';
print '<input type="hidden" name="sortorder" value="'.$sortorder.'">';

View file

@ -76,7 +76,7 @@ class modSteuer extends DolibarrModules
$this->editor_squarred_logo = ''; // Must be image filename into the module/img directory followed with @modulename. Example: 'myimage.png@steuer'
// Possible values for version are: 'development', 'experimental', 'dolibarr', 'dolibarr_deprecated', 'experimental_deprecated' or a version string like 'x.y.z'
$this->version = '1.1';
$this->version = '1.2';
// Url to the file with your last numberversion of this module
//$this->url_last_version = 'http://www.example.com/versionmodule.txt';