Results 1 to 4 of 4

Thread: Modify 'assigned to' policy for saved search

  1. #1
    franckt is offline Sugar Community Member
    Join Date
    Mar 2010
    Posts
    70

    Default Modify 'assigned to' policy for saved search

    When we save a search in advanced tab search, only the user who saved can access it later on.
    That will be nice to assign this short cut search to all users or to a group of users (with role).

    I found in modules/savedsearch/savedsearch.php this fonction :

    function getSelect($module) {
    global $db, $current_user, $currentModule, $current_lang, $app_strings;
    $saved_search_mod_strings = return_module_language($current_lang, 'SavedSearch');

    $query = 'SELECT id, name FROM saved_search
    WHERE
    deleted = \'0\' AND
    assigned_user_id = \'' . $current_user->id . '\' AND
    search_module = \'' . $module . '\'
    .... ...... ....... .......
    }

    We can see there that will be selected and shown on the select list "saved search" only my saved queries.


    How can I safely change this function parameter in the custom directory ?

    Sincerely
    Franck

  2. #2
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    240

    Default Re: Modify 'assigned to' policy for saved search

    I too would like this feature implemented.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

  3. #3
    imran123 is offline Sugar Community Member
    Join Date
    Feb 2009
    Posts
    132

    Default Re: Modify 'assigned to' policy for saved search

    This could be done easily with http://dispage.com/products/enhanced-search. This plugin not only gives you the ability to admins to makes saved searches public but also gives sugar the ability to do powerful searches..I cant imagine the sugarcrm advanced search without this plugin..I think you will like it..

  4. #4
    blak3r's Avatar
    blak3r is offline Sugar Community Member
    Join Date
    Sep 2010
    Location
    Maryland
    Posts
    240

    Default Re: Modify 'assigned to' policy for saved search

    Just wanted to follow up and say I installed the dispage advanced search plugin and it's very very good. Solved the problem completely for us. Now if only I could get the saved search drop down as an option on basic search... Telling sales guys to always use advanced search and then use the saved searches isn't going over very well.

    Thanks for the tip.
    Sugar 6 Pro, On-Site (Apache 2.0, MySQL 5.1, PHP 5.2.6)

    My SugarForge Projects:
    Email To Sugar - Archive emails in any mail client by adding a BCC line.
    Task Dashlets Plus- Adds custom dashlets for: tasks assigned to me by others, delegated tasks, overdue tasks, and open tasks past start date

    www.blakerobertson.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Disabling Saved Search Select from Opening Advanced Search
    By tjdoyle00 in forum Developer Help
    Replies: 3
    Last Post: 2011-10-20, 03:07 PM
  2. Replies: 4
    Last Post: 2010-03-25, 08:11 AM
  3. Replies: 0
    Last Post: 2009-04-01, 05:42 AM
  4. Create ' Saved Search & Layout ' in Basic Search
    By kodikarthi in forum General Discussion
    Replies: 1
    Last Post: 2008-11-26, 06:00 AM
  5. Replies: 0
    Last Post: 2008-11-03, 08:33 AM

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
  •