Merge pull request #1396 from owncloud/apps_sorting
Sort internal apps above 3rdparty apps
This commit is contained in:
commit
5bf7791b42
|
@ -36,6 +36,10 @@ function app_sort( $a, $b ) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($a['internal'] != $b['internal']) {
|
||||||
|
return $b['internal'] - $a['internal'];
|
||||||
|
}
|
||||||
|
|
||||||
return strcmp($a['name'], $b['name']);
|
return strcmp($a['name'], $b['name']);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue