Commit 8ddeda51 authored by jfefe's avatar jfefe

Change order for hosts list : show the latest first

parent 3a66dcc2
<?php
/* Copyright (C) 2007-2017 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) ---Put here your own copyright and developer email---
* Copyright (C) 2019 Librethic <hello@librethic.io>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
......@@ -119,7 +119,7 @@ if (! $sortfield) {
$sortfield="t.".key($object->fields); // Set here default search field. By default 1st field in definition.
}
if (! $sortorder) {
$sortorder="ASC";
$sortorder="DESC";
}
// Protection if external user
......
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