Page 1 of 2 12 LastLast
Results 1 to 10 of 16
Like Tree1Likes

Thread: Remove search memory?

  1. #1
    bbzbryce is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Remove search memory?

    Is there a way to remove the search memory?

    For example when I perform a search in the Contacts when I return to the contacts that it is no longer using the previous search?

    Thanks

  2. #2
    kpit's Avatar
    kpit is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Dec 2005
    Location
    Memphis, TN
    Posts
    996

    Default Re: Remove search memory?

    Click the Clear button next to the search button. That will clear it.

    Cheers,

    Max

  3. #3
    bbzbryce is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Remove search memory?

    I would like it to be cleared by default so that I don't have to clear it. When I logout and come back I would like it to have a clean search by default.

    Thanks

  4. #4
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Default Re: Remove search memory?

    This needs some code modifications
    Farkhad Rakhimzhanov
    E-mail: farkhad@gmail.com
    Skype: rakikama

    SuperTimesheet and Invoicing — timesheet tool with invoicing for SugarCRM.
    Book time against Cases, Project Tasks and Projects.
    Create invoice regarding booked time, print it in PDF or HTML,
    customize template as you like.

  5. #5
    bbzbryce is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Question Re: Remove search memory?

    Any idea on what those code modifications are?

  6. #6
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Remove search memory?

    Quote Originally Posted by bbzbryce
    Any idea on what those code modifications are?
    I am working on that now. It is a harder problem than I first thought.
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  7. #7
    bbzbryce is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Remove search memory?

    Any status update on this?

    Thanks

  8. #8
    wagnerbl is offline Sugar Community Member
    Join Date
    Apr 2005
    Posts
    330

    Default Re: Remove search memory?

    just go on modules/the_module_you_want_to_change/ListView.php and comment this lines.
    PHP Code:
    /*$storeQuery = new StoreQuery();
    if(!isset($_REQUEST['query'])){
        $storeQuery->loadQuery($currentModule);
        $storeQuery->populateRequest();
    }else{
        $storeQuery->saveFromGet($currentModule);    
    }*/ 

  9. #9
    bbzbryce is offline Member
    Join Date
    Dec 2005
    Posts
    7

    Default Re: Remove search memory?

    Thanks for the reply. That's great for individual modules. I actually was able to trace it easily from there and find this in the config.php file:

    'save_query' => 'all',

    If you change the value 'all' to something else, such as

    'save_query' => 'no',

    then this will not save any queries for any of the modules.

    Thanks for everyone's help.
    graphics likes this.

  10. #10
    niche is offline Sugar Community Member
    Join Date
    Mar 2006
    Location
    New York
    Posts
    126

    Default Re: Remove search memory?

    Quote Originally Posted by bbzbryce
    I actually was able to trace it easily from there and find this in the config.php file:

    'save_query' => 'all',

    If you change the value 'all' to something else, such as

    'save_query' => 'no',

    then this will not save any queries for any of the modules.
    Ken (and SUGAR TEAM) -- this would be a nice option to have in the ADMIN panel.
    SugarCRM 4.5.0h
    XAMPP
    http://www.nichemodern.com

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

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
  •