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

Domain Manager: Pagination in domain widget fetches incorrect results

    Details

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

      Description

      This occurs only on the admin client profile.

      To reproduce:

      • Create at least one domain service for two different clients
      • Set the Blesta.results_per_page config file value to 1
      • Visit the profile for one of these clients in the admin interface
      • Click the "next" button in the domains widget pagination controls
      • See that the number of domains matches the total in the system rather that those for the particular client.

      To resolve change plugins/domains/controllers/admin_main.php line 134 from:

                      'uri' => $this->base_uri . 'plugin/domains/admin_main/index/' . $client->id . '/' . $status . '/[p]/',
      

      To

                      'uri' => $this->base_uri . 'plugin/domains/admin_main/domains/' . $client->id . '/' . $status . '/[p]/',
      

        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:
              2/Nov/21

              Time Tracking

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

                Agile