| Author |  | 
      
        | OscarMeyer Newbie
 
  
 
 Joined: 20 August 2025
 Online Status: Offline
 Posts: 3
 | 
          I'd like to be able to change the number of messages seen when expanding a thread, or clicking the the 'More messages'. Can anyone provide a pointer where this parameter is located? Thanks!
           | Posted: 20 August 2025 at 8:48am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Well at least one of the two can be found in modules/MailWebclient/js/models/CMessageModel.js file:
           | Posted: 20 August 2025 at 10:44pm | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | CMessageModel.prototype.increaseThreadCountForLoad = function () {
 this.threadCountForLoad(this.threadCountForLoad() + 5);
 ...
 |  |  |  
 Changing value directly in that file, however, would require building static files which is rather complex operation, there's a more straightforward approach available. In static/js directory, locate the file which contains the above code - in 9.8.2 that's 55.app.209cb5a9c6c5eeaf4306.js file.
 
 To make WebMail use non-minified JavaScript files, set "UseAppMinJs" to false in data/settings/config.json file. Also, be sure to clear browser's cache to apply changes.
 
 Hope this helps.
 
 --
 Regards,
 Igor, Afterlogic
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | OscarMeyer Newbie
 
  
 
 Joined: 20 August 2025
 Online Status: Offline
 Posts: 3
 | 
          Thanks for the quick reply. I will check this after updating. I'm currently on 9.7.8 I think. Not 9.8.2 anyway.
           | Posted: 21 August 2025 at 11:24am | IP Logged |   |  
           | 
 |  
 Cheers!
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | OscarMeyer Newbie
 
  
 
 Joined: 20 August 2025
 Online Status: Offline
 Posts: 3
 | 
          On my system with a fresh 9.8.2 install (9.8.2.build3-build-o3), the values are in the files:
           | Posted: 23 August 2025 at 4:29pm | IP Logged |   |  
           | 
 |  29.app.750a502409a1711e236b.js
 611.app.e900f70c6bcd002498dc.min.js
 
 Two places needed to be changed in 29:
 6252   this.threadCountForLoad = ko.observable(5);
 6429   this.threadCountForLoad(this.threadCountForLoad() + 5);
 
 The minimized file needs similar edits - just have to search for the spots. I changed the values to 10, cleared the browser cache, and restarted the web server (lighttpd). Works fine. If I get ambitious, maybe one day I'll change this to be the total thread size.
 
 Thanks for the pointer, helped alot.
 | 
       
        | Back to Top |     | 
       
       
        |  |