Use usort() instead of natsort()
commit85747b9ae99bd6110578c7f467ee99ad91324b7a
authorMichal Čihař <michal@cihar.com>
Mon, 10 Jul 2017 12:34:12 +0000 (10 14:34 +0200)
committerMichal Čihař <michal@cihar.com>
Mon, 10 Jul 2017 12:34:12 +0000 (10 14:34 +0200)
tree2275c71430a8db599b6a3c5ad4c51d352ee39927
parent36ea981bdde15f3cb0a9996b96abf6cd8f0b3248
Use usort() instead of natsort()

The natsoft has side effect of producit associated array, what is later
represented as object if encoded to JSON and breaking code expect array
instead.

Fixes #13465

Signed-off-by: Michal Čihař <michal@cihar.com>
ChangeLog
libraries/DatabaseInterface.php
libraries/ListDatabase.php
libraries/controllers/table/TableRelationController.php
templates/table/relation/foreign_key_row.phtml