mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-01-29 23:14:55 +01:00
Merge branch 'master' of https://github.com/devcode-it/openstamanager
This commit is contained in:
commit
f3c5e68ce9
@ -216,7 +216,7 @@ switch ($resource) {
|
||||
break;
|
||||
|
||||
case 'categorie':
|
||||
$query = 'SELECT id, nome AS descrizione FROM mg_categorie |where| ORDER BY id';
|
||||
$query = 'SELECT id, nome AS descrizione FROM mg_categorie |where| ORDER BY nome';
|
||||
|
||||
foreach ($elements as $element) {
|
||||
$filter[] = 'id='.prepare($element);
|
||||
@ -232,7 +232,7 @@ switch ($resource) {
|
||||
|
||||
case 'sottocategorie':
|
||||
if (isset($superselect['id_categoria'])) {
|
||||
$query = 'SELECT id, nome AS descrizione FROM mg_categorie |where| ORDER BY id';
|
||||
$query = 'SELECT id, nome AS descrizione FROM mg_categorie |where| ORDER BY nome';
|
||||
|
||||
foreach ($elements as $element) {
|
||||
$filter[] = 'id='.prepare($element);
|
||||
|
Loading…
x
Reference in New Issue
Block a user