Results 1 to 7 of 7

Thread: employees in assigned_user_id missing

  1. #1
    johnnyo is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    31

    Default employees in assigned_user_id missing

    in advanced search the field assigned_user_id is empty - no emplyees listed, And i tlooks like a text field rather than a dropdown field now. I've made no changes. Any ideas?????????
    Thanks
    5.0

  2. #2
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: employees in assigned_user_id missing

    Hi

    Sugar 5.0 doesn't have any 'assigned_user_id' field in the 'Employees' module by default.

    What module are you speaking about?

  3. #3
    johnnyo is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    31

    Default Re: employees in assigned_user_id missing

    Thanks HolmesA
    I could swear at one point there was a user_assigned_id dropdown in advanced search for several modules.
    This would allow to search records by using my own employees names (userid's)
    What I see now is an Assigned User field with no dropdown for my employees names to search records with.
    No matter what I type in this field the search results are empty.

  4. #4
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: employees in assigned_user_id missing

    Hi

    Can you point us to exact module in which you spotted this issue?
    I have checked several modules when 'user_assigned_id' field exists and found out that everywhere a multiselect box is used for this field in advanced search.
    Last edited by HolmesA; 2008-02-11 at 07:13 PM.

  5. #5
    johnnyo is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    31

    Default Re: employees in assigned_user_id missing

    Thanks HolmesA
    I've enclosed a shot of my Accounts advanced search screen.
    You'll see their are no users in the "assigned to" dropdown to pick from. These users are also missing in Contacts and Opportunities.
    But users do show up in my "leads" - this is the only module I haven't added any custom fields to
    I have also enclose3d a shot of Leads advanced Search
    Attached Images Attached Images   

  6. #6
    HolmesA's Avatar
    HolmesA is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    109

    Default Re: employees in assigned_user_id missing

    Hi

    I was able to reproduce your situation. It seems that this is a Studio bug.

    The following solution helps me to solve it:

    1. In the '\custom\modules\Accounts\metadata\searchdefs.php' file change:

    PHP Code:
            'assigned_user_id' => 
            array (
              
    'label' => 'LBL_ASSIGNED_TO_ID',
              
    'width' => '10',
              
    'name' => 'assigned_user_id',
            ), 
    to:

    PHP Code:
            'assigned_user_id' => 
            array (
              
    'name' => 'assigned_user_id',
              
    'type' => 'enum',
              
    'label' => 'LBL_ASSIGNED_TO',
              
    'function' => 
              array (
                
    'name' => 'get_user_array',
                
    'params' => 
                array (
                  
    => false,
                ),
              ),
            ), 
    2. Delete the '\cache\modules\Accounts\SearchForm_advanced_searc h.tpl' file.

    The same you should perform for the Contacts and Opportunities modules.

  7. #7
    johnnyo is offline Sugar Community Member
    Join Date
    Feb 2006
    Posts
    31

    Default Re: employees in assigned_user_id missing

    Your fix worked perfectly.
    Thank you so much for your time, i appreciate it.
    J

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  2. Replies: 0
    Last Post: 2006-07-03, 06:26 PM
  3. I broke the Employees List
    By drac0 in forum Help
    Replies: 4
    Last Post: 2006-02-01, 11:37 PM
  4. Replies: 11
    Last Post: 2005-11-30, 07:46 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
  •