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

        jonathan Jonathan Reissmueller created issue -
        jonathan Jonathan Reissmueller made changes -
        Field Original Value New Value
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.3.0 Sprint 3 [ 143 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Assignee Jonathan Reissmueller [ jonathan ]
        jonathan Jonathan Reissmueller made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        jonathan Jonathan Reissmueller made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 31 minutes [ 1860 ]
        Worklog Id 15351 [ 15351 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          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