Results 1 to 6 of 6

Thread: Column Sort Not Working: ListView

  1. #1
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Unhappy Column Sort Not Working: Advanced Search

    Hi guys,



    I have a problem on fixing the column sorter under Advance Search: Saved Search & Layout: Display Columns.
    Clicking the arrows up and down produces a javascript error, the column names doesn't move up/down

    Error: 'selected' is null or not an object

    SugarCRM 5.2.0e



    Thanks in advance...
    Last edited by kurt.maderal; 2009-07-08 at 02:57 PM.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Column Sort Not Working: ListView

    Hi Kurt

    Are you able to reproduce this issue in a fresh install containing demo data?

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Default Re: Column Sort Not Working: ListView

    This only occurred after I added new columns to be sorted

    Files modified:
    listviewdefs.php

    Other modules with this issue are working fine.

    This is also an issue in my SugarCRM 5.0.0f
    Last edited by kurt.maderal; 2009-07-08 at 05:07 PM.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Column Sort Not Working: ListView

    Funny, now since you say this: In my case it sometimes simply says "true" on an otherwise blank screen. I tend to overlook such things. In my case it happens with a pretty basic own created module. But not always.
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Unhappy Re: Column Sort Not Working: ListView

    Maybe I'm just missing something....

    Btw, I got it working in Firefox but not in IE..

    But Firefox w/ Firebug says:

    obj[sel[i] + 1] is undefined
    for(i in sel){if(sel[i]!=obj.length-1&&!...ected=true;obj[sel[i]].selected=false;}}

    That's after clicking up/down arrows under Display Columns

  6. #6
    kurt.maderal is offline Senior Member
    Join Date
    Jun 2009
    Posts
    66

    Talking Re: Column Sort Not Working: ListView

    Hi,

    I already found some work around.
    What i did was to modify SearchForm2.php
    and replace Sugar.tabChoose.up / down
    with the custom javascript I created.

    Although it sounds not upgrade safe, at least
    I found some workaround.


    Thanks.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sort on Listview for dropdown lists
    By beuten in forum Help
    Replies: 4
    Last Post: 2009-11-30, 12:26 PM
  2. Leads - Sort name column by last name in Listview
    By Gorgar in forum General Discussion
    Replies: 5
    Last Post: 2009-02-18, 02:51 PM
  3. subpanel column sort widgets
    By stevec in forum Developer Help
    Replies: 2
    Last Post: 2007-09-18, 09:02 AM
  4. Listview Column Names
    By idlelife in forum Help
    Replies: 1
    Last Post: 2006-10-03, 01:27 PM
  5. Default sort in listView...
    By nomar in forum Developer Help
    Replies: 18
    Last Post: 2006-07-05, 12:31 PM

Tags for this Thread

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
  •