diff options
author | Ian Gilfillan <ian@greenman.co.za> | 2016-07-11 16:21:35 +0000 |
---|---|---|
committer | Ian Gilfillan <ian@greenman.co.za> | 2016-07-11 16:21:35 +0000 |
commit | 55505848eaf681e378e0a34af204da10566254e9 (patch) | |
tree | fc9593bc6833884d7de930041669eb87c71ed5ae /h-source/Application/Include/myFunctions.php | |
parent | ecbf2ae1ace1b26708dbc0338d4fa9b03010ac39 (diff) |
Add Qbex, increase timeout to match h-node, sort by compatibility by default
Diffstat (limited to 'h-source/Application/Include/myFunctions.php')
-rw-r--r-- | h-source/Application/Include/myFunctions.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/h-source/Application/Include/myFunctions.php b/h-source/Application/Include/myFunctions.php index 5cb1036..903c013 100644 --- a/h-source/Application/Include/myFunctions.php +++ b/h-source/Application/Include/myFunctions.php @@ -122,13 +122,13 @@ function getOrderByClause($string) $orderBy = 'model desc'; break; case 'compatibility': - $orderBy = 'compatibility'; + $orderBy = 'compatibility, hardware.id_hard desc'; break; case 'undef': - $orderBy = 'hardware.id_hard desc'; + $orderBy = 'compatibility, hardware.id_hard desc'; break; default: - $orderBy = 'hardware.id_hard desc'; + $orderBy = 'compatibility, hardware.id_hard desc'; } return $orderBy; @@ -458,4 +458,4 @@ function getTranslationFunction($fieldName) } return "gtext"; -}
\ No newline at end of file +} |