mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Sort installed packages in a case insensitive way on the widget and installed packages list.
This commit is contained in:
parent
c126131572
commit
001cbed200
@ -87,7 +87,7 @@ include("head.inc");
|
||||
foreach($config['installedpackages']['package'] as $instpkg) {
|
||||
$instpkgs[] = $instpkg['name'];
|
||||
}
|
||||
asort($instpkgs);
|
||||
natcasesort($instpkgs);
|
||||
|
||||
foreach ($instpkgs as $index => $pkgname):
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@ $updateavailable = false;
|
||||
$instpkgs = array();
|
||||
foreach($config['installedpackages']['package'] as $instpkg)
|
||||
$instpkgs[] = $instpkg['name'];
|
||||
asort($instpkgs);
|
||||
natcasesort($instpkgs);
|
||||
$y=1;
|
||||
foreach ($instpkgs as $index => $pkgname){
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user