Results 1 to 6 of 6

Thread: Filtering by "Assigned To" not working

  1. #1
    mrmmm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    71

    Default Filtering by "Assigned To" not working

    I tagged this along to another thread but decided it would be better to post as a separate one (hopefully not against the rules).
    In Advance Search for Opportunities I have a box "Assigned to" with a select button. When I click the select button, I get a window with all the users in the system and when I click on one, it gets entered into that box. However, whenever I click search I always get no results even though I have opportunities assigned to that user. I have tried manually entering user IDs, but also no results are returned.

    In /usr/local/www/data-dist/sugarcrm/custom/modules/Opportunities/metadata/searchdefs.php i have the following:
    'assigned_user_name' =>
    array (
    'label' => 'LBL_ASSIGNED_TO_NAME',
    'width' => '10',
    'name' => 'assigned_user_name',
    )


    Sugar: Open Ssource 5.0b

    Thank you.

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

    Default Re: Filtering by "Assigned To" not working

    That is a Sugar bug.
    Use this:
    PHP Code:
    array('name' => 'assigned_user_id''type' => 'enum''label' => 'LBL_ASSIGNED_TO''function' => array('name' => 'get_user_array''params' => array(false))) 
    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.

  3. #3
    mrmmm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    71

    Default Re: Filtering by "Assigned To" not working

    Farkhad,
    Thanks for the tip. That did the job. The only difference is that now instead of a select button and a window where I can type, I have a multiselect box. Which is an improvement functionality-wise but just looks bad.

    Thank you!
    Maxim

  4. #4
    paulgig is offline Junior Member
    Join Date
    Oct 2007
    Posts
    4

    Default Re: Filtering by "Assigned To" not working

    Hello,

    ok, have you found a way to change, in the Opportunity list view, the "Assigned to ID" to display the actual name?

    thanks.

    P

  5. #5
    mrmmm is offline Sugar Community Member
    Join Date
    Dec 2005
    Posts
    71

    Default Re: Filtering by "Assigned To" not working

    If I am not mistaken you set that up in the Admin section. I don't have the system in front of me right now, but there is a setting that says "Display Full User Name instead of User ID".

  6. #6
    mipapage is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Spain
    Posts
    90

    Default Re: Filtering by "Assigned To" not working

    Thanks superman, this worked for me.
    Sugar 6.XX Pro Onsite
    Apache 2.0, PHP 5.25, mySQL 5.0
    64-bit OS, Red-Hat, 16G ram, dual quad core.
    xcache op-code cache, mod_deflate, memory_limit = 360M, max_execution_time = 120
    > 40 users, ~500,000 leads, same #opps, 1 account, 1 contact, 2M calls.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 2008-07-22, 11:29 AM
  2. Project Tasks - Adding Fields "Assigned To"
    By bberglund in forum Help
    Replies: 2
    Last Post: 2008-02-12, 03:09 PM
  3. "assigned to" based on owner ?
    By nadigo in forum Developer Help
    Replies: 0
    Last Post: 2007-10-18, 02:36 PM
  4. Replies: 2
    Last Post: 2006-10-20, 06:46 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
  •