Fix using show command to show platform packages, and allow using it to show replacers too by using the replaced name, fixes #7628
parent
8e888bec78
commit
743d551399
|
@ -584,7 +584,7 @@ EOT
|
||||||
|
|
||||||
$matchedPackage = null;
|
$matchedPackage = null;
|
||||||
$versions = array();
|
$versions = array();
|
||||||
$pool = $repositorySet->createPoolForPackage($name);
|
$pool = $repositorySet->createPoolWithAllPackages();
|
||||||
$matches = $pool->whatProvides($name, $constraint);
|
$matches = $pool->whatProvides($name, $constraint);
|
||||||
foreach ($matches as $index => $package) {
|
foreach ($matches as $index => $package) {
|
||||||
// select an exact match if it is in the installed repo and no specific version was required
|
// select an exact match if it is in the installed repo and no specific version was required
|
||||||
|
|
Loading…
Reference in New Issue