chg: [Objects] Sorts object references types in add reference form (#3969)

pull/3974/head
Christophe Vandeplas 2018-12-22 09:54:12 +01:00 committed by GitHub
parent e0036625ac
commit f82fbf165a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ class ObjectReferencesController extends AppController
$relationships[$v['ObjectRelationship']['name']] = $v['ObjectRelationship']['name'];
}
$relationships['custom'] = 'custom';
ksort($relationships);
$this->set('relationships', $relationships);
$this->set('event', $event);
$this->set('objectId', $objectId);