Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-4087

Order: Affiliate activation adds link to primary staff nav

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      AdminAffiliates::enableAffiliateActions() adds items using the action and navigation models. One of these items is the affiliates link for admin nav menu which should be a subitem under the Clients nav item. Instead it is being added as a primary item. It should really just be skipped anyway since it already exists. Change:

                      if ($action->action == 'nav_secondary_staff') {
                          $nav_vars = ['parent_url' => 'clients/'];
                      }
      

      To

                      if ($action->action == 'nav_staff') {
                          continue;
                      }
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            jonathan Jonathan Reissmueller
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              23/Dec/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 14 minutes
              14m

                Agile