-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#1003 [Documents] fix: enhance document list #1021
base: develop
Are you sure you want to change the base?
#1003 [Documents] fix: enhance document list #1021
Conversation
d8e4a37
to
bb6fc4e
Compare
|
lib/documents.lib.php
Outdated
@@ -215,6 +264,20 @@ function saturne_show_documents(string $modulepart, $modulesubdir, $filedir, str | |||
$genbutton = ''; | |||
} | |||
$out .= $genbutton; | |||
$querySeparator = (strpos($_SERVER['REQUEST_URI'], '?') === false) ? '?' : '&'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
il sert à rien ici
lib/documents.lib.php
Outdated
|
||
$fileList = dol_sort_array($fileList, $sortfield, $sortorder); | ||
|
||
$page = GETPOST('page', 'int') ?: 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
psr12
$out = '<td class="'. $morehtml .'">'; | ||
$out .= '<input class="saturne-search" id="search_' . strtolower($name) . '" type="'. $type .'" name="search_' . strtolower($name) . '" value="' . GETPOST('search_' . strtolower($name)) . '">'; | ||
$out .= '</td>'; | ||
return $out; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
un espace entre le return
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+psr12
No description provided.