mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-06-05 22:09:38 +02:00
Miglioramento ricerche Datatables
Miglioramento delle ricerche Datatables in modo da rendere il sistema più comprensibile.
This commit is contained in:
@@ -354,3 +354,15 @@ function getURLPath()
|
||||
|
||||
return slashes($path);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sostituisce i caratteri speciali per la ricerca attraverso le tabelle Datatables.
|
||||
*
|
||||
* @param string $field
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
function searchFieldName($field)
|
||||
{
|
||||
return str_replace([' ', '.'], ['-', ''], $field);
|
||||
}
|
||||
|
Reference in New Issue
Block a user