Commit caa2ea78 authored by utkarsh_33's avatar utkarsh_33 Committed by Tim Plunkett
Browse files

Issue #3315867 by Utkarsh_33, srishtiiee, tim.plunkett: Change the label for...

Issue #3315867 by Utkarsh_33, srishtiiee, tim.plunkett: Change the label for the sort by option Project Usage
parent cc2ff0df
Loading
Loading
Loading
Loading
+1 −1
Changes for src/Plugin/ProjectBrowserSourceBase.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -128,7 +128,7 @@ abstract class ProjectBrowserSourceBase extends PluginBase implements ProjectBro
    return [
      'usage_total' => [
        'id' => 'usage_total',
        'text' => $this->t('Project Usage'),
        'text' => $this->t('Active installs'),
      ],
      'a_z' => [
        'id' => 'a_z',
+1 −1
Changes for tests/src/FunctionalJavascript/ProjectBrowserUiTest.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -717,7 +717,7 @@ class ProjectBrowserUiTest extends WebDriverTestBase {
    $tab_count = $page->findAll('css', '.plugin-tabs button');
    $this->assertCount(2, $tab_count);
    // Get result count for first tab.
    $this->assertEquals('9 Results Sorted by Project Usage', $this->getElementText('.grid--1 output'));
    $this->assertEquals('9 Results Sorted by Active installs', $this->getElementText('.grid--1 output'));

    // Apply filters in drupalorg_mockapi(first tab).
    $assert_session->waitForElement('css', '.views-exposed-form__item input[type="checkbox"]');