mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-07 13:22:15 +01:00
Fix numerazione
This commit is contained in:
parent
4662905909
commit
ab94b61fe1
@ -204,7 +204,7 @@ class Generator
|
||||
//Lunghezza maschera
|
||||
$mask_length = strlen($maschera);
|
||||
|
||||
$query = Manager::table($table)->select($field)->where($field, 'like', $maschera)->orderByRaw('LENGTH(numero_esterno) DESC')->orderByRaw($order);
|
||||
$query = Manager::table($table)->select($field)->where($field, 'like', $maschera)->orderByRaw('LENGTH('.$field.') DESC')->orderByRaw($order);
|
||||
|
||||
foreach ($where as $and) {
|
||||
$query->whereRaw($and);
|
||||
|
Loading…
Reference in New Issue
Block a user