dandju Posted December 31, 2020 Share Posted December 31, 2020 Hello, I was wondering if anyone has the same issue with the domains page within the client area (/clientarea.php?action=domains) (WHMCS 8.1 GA)? The customer can only see a maximum of 10 domains. He has 19 active domains in total (which I can see in the admin panel), and when navigating to "/clientarea.php?action=domaindetails&id=<DOMAIN_ID>" I can see the details of the missing domain when entering the ID of the domain manually. I have then debugged the Smarty template of this page and could see: $domains Origin: "Smarty object" Value Array (10) So for some reason only 10 domains are provided to Smarty/template? Is it a bug? Or should the datatable load the next few domains when clicking next (but next button is disabled)? And datatables says: Showing 1 to 10 of 10 entries. Thanks for the help and happy new year! 1 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 31, 2020 Share Posted December 31, 2020 5 minutes ago, dandju said: The customer can only see a maximum of 10 domains. is the template not showing the pagination at the bottom of the table ?? 0 Quote Link to comment Share on other sites More sharing options...
dandju Posted December 31, 2020 Author Share Posted December 31, 2020 (edited) Hi Brian, 8 minutes ago, brian! said: is the template not showing the pagination at the bottom of the table ?? No, just the 10 domains and this first page (even when setting it to show 50): Oh - and it even says 19 in the filter at the left side. Edited December 31, 2020 by dandju 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 31, 2020 Share Posted December 31, 2020 i'm not seeing that locally.... pagination and filtering is working... i'm testing on a v8.1b1 dev, and I assume the GA release hasn't broken this... does it work with other languages ?? 0 Quote Link to comment Share on other sites More sharing options...
dandju Posted December 31, 2020 Author Share Posted December 31, 2020 (edited) 10 minutes ago, brian! said: does it work with other languages ?? Just tested with another client and language, still the same: Also disabled all hooks just to ensure its not related, but still the same. As I do not know how it is intended to work, it might be an issue with the WHMCS core? As it only provides 10 domains within the $domains variable? Btw. do you see all those domains in the source code (or in the $domains variable)? Edited December 31, 2020 by dandju 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 31, 2020 Share Posted December 31, 2020 4 minutes ago, dandju said: As I do not know how it is intended to work, it might be an issue with the WHMCS core? As it only provides 10 domains within the $domains variable? a debug window for me is showing all 32 domains in the $domains array - what happens if you use the Six theme instead ?? 0 Quote Link to comment Share on other sites More sharing options...
dandju Posted December 31, 2020 Author Share Posted December 31, 2020 40 minutes ago, brian! said: what happens if you use the Six theme instead Good idea! And indeed, it shows all correctly in the six template?! I have now noticed that this is related to the child theme - when selecting the "Twenty-One" theme directly, it shows all domains correctly, but when selecting the child theme (which is using the twenty-one as the main template), the domains page shows only 10. Just for further testing I have removed all files from the child theme folder and just left the theme.yamlfile with the following content: # Custom Theme Configuration File name: "Custom Theme" author: "DD" config: parent: twenty-one When selecting the "Custom Theme" within the General Settings in WHMCS, the domains page only shows 10 domains? 0 Quote Link to comment Share on other sites More sharing options...
dandju Posted December 31, 2020 Author Share Posted December 31, 2020 Update: Also applies to other data tables (eg. invoices, tickets) ... when using the child theme. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 1, 2021 Share Posted January 1, 2021 Hello @dandju Thank you for your report, although I havent seen this issue reported anywhere else I will see if I can replicate this and open a case if needed, I'll let you know in this thread once I have completed testing, 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 1, 2021 Share Posted January 1, 2021 16 hours ago, dandju said: Update: Also applies to other data tables (eg. invoices, tickets) ... when using the child theme. now that you mention that it's a child theme, I can see it on all the tables too. add it to your bug list @xyzulu 🙄 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Marcus Posted January 1, 2021 Share Posted January 1, 2021 Happy New Year! We are pleased to announce we have released a Hotfix for this issue: 3 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 1, 2021 Share Posted January 1, 2021 13 minutes ago, WHMCS Marcus said: We are pleased to announce we have released a Hotfix for this issue: @WHMCS Marcus - small point, but isn't the tag on the hotfix post wrong, it says 8.0_HF, but surely there should be a v8.1 folder of hotfixes (to follow the existing pattern for 8.0, 7.10, 7.9 etc releases) and this hotfix should be in there rather than with the older v8.0 hotfixes and then this tagged 8.1_HF? 1 Quote Link to comment Share on other sites More sharing options...
dandju Posted January 1, 2021 Author Share Posted January 1, 2021 Thank you @WHMCS Marcus for the quick update. I can confirm that the workaround has resolved the issue (could not test the patch yet) 👍 And thank you very much @brian! for the continuous assistance that helped me to narrow down the issue. Thank you again both of you and a happy new year! 0 Quote Link to comment Share on other sites More sharing options...
whattheserver Posted January 7, 2021 Share Posted January 7, 2021 @WHMCS Marcus thanks fore the hotfix it fixed the issue for my site after upgrading to 8.1 via auto updater. 0 Quote Link to comment Share on other sites More sharing options...
Ronak Pagi Posted May 22, 2021 Share Posted May 22, 2021 Just Add this line in theme.yaml file properties: serverSidePagination: false 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.