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]/',