Results 1 to 4 of 4

Thread: How to increase or remove limit of records in list view?

  1. #1
    AshVardanyan is offline Member
    Join Date
    Feb 2009
    Posts
    13

    Default How to increase or remove limit of records in list view?

    Hi

    I have overided the view.list and template for custom module to display the records in the listview as a tree but as the limit is only 50 per page in listview the new created records are not displayed.
    I managed to increase the limit for all modules but it is not good solution so can somebody tell me how to increase the limit of records of specific module?

  2. #2
    salesagility's Avatar
    salesagility is offline Sugar Community Member
    Join Date
    Aug 2006
    Location
    UK
    Posts
    2,379

    Default Re: How to increase or remove limit of records in list view?

    Not without cutting code ... the admin>system settings is a global parameters and there's no other granularity

  3. #3
    AshVardanyan is offline Member
    Join Date
    Feb 2009
    Posts
    13

    Default Re: How to increase or remove limit of records in list view?

    I know that there is no setings for that but I think that ther is a good upgrade safe way to do it by php for specific module.

  4. #4
    AshVardanyan is offline Member
    Join Date
    Feb 2009
    Posts
    13

    Smile Re: How to increase or remove limit of records in list view?

    I have found a way.

    1. Create your own view.list.php
    2. Before the class definition add $GLOBALS['sugar_config']['list_max_entries_per_page'] = 1000;
    3. Implement the listViewProcess() function and at the end change the parameter back to 50 or what it was.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 2010-02-28, 12:05 PM
  2. Can't increase php.ini 32mb limit
    By tatty27 in forum Installation and Upgrade Help
    Replies: 9
    Last Post: 2009-07-14, 05:25 AM
  3. How to get selected records from list view?
    By iamoat in forum Developer Help
    Replies: 1
    Last Post: 2008-11-24, 09:45 AM
  4. Replies: 1
    Last Post: 2008-01-11, 06:34 PM
  5. more records in list view
    By e2andrew in forum Help
    Replies: 1
    Last Post: 2006-03-10, 10:27 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •