Unverified Commit 3026324a authored by Xacobo Freire's avatar Xacobo Freire Committed by GitHub

fix sql for sim (#8488)

closes #8487
parent 92bfc79e
......@@ -672,7 +672,7 @@ class Item_Ticket extends CommonItilObject_Item {
'WHERE' => [
'groups_id' => $groups
] + getEntitiesRestrictCriteria($itemtable, '', $entity_restrict, $item->maybeRecursive()),
'ORDER' => 'name'
'ORDER' => $item->getNameField()
];
if ($item->maybeDeleted()) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment