Results 1 to 5 of 5

Thread: Sortable Custom Fields???

  1. #1
    bennybtl is offline Member
    Join Date
    Jan 2008
    Posts
    7

    Default Sortable Custom Fields???

    I've run into an issue I can't seem to find a solution to.

    I have no problem creating custom fields in the studio module, but I can't figure out how to enable the list view to sort by this custom field. The double arrow in the column heading is not there. Is this something I must add to the php files? I am familiar with PHP / mySQL . I can't seem to find the code that controls this, though. Any help would be appreciated.


    Sugar 5.0 running on apache under windows 2000.

    Thanks!

    Ben

  2. #2
    bennybtl is offline Member
    Join Date
    Jan 2008
    Posts
    7

    Default Re: Sortable Custom Fields???

    Never mind! I just found it.


    For anyone else wondering, there is an entire modules section under custom in the sugarce5 root with the php files that override default php files in the modules, i'm assuming?

    Just changed sortable from false to true under my custom field.

  3. #3
    malcolmh's Avatar
    malcolmh is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Aug 2004
    Posts
    1,712

    Default Re: Sortable Custom Fields???

    Hi Bennybtl,

    Saw this effect earlier today. Thanks for the heads up!

    For others: look at custom/modules/ModuleName/metadata/listviewdefs.php.

    Better still, I think custom fields should automatically set to sortable as I think they were with 4.5.1x. I will raise a Support case.
    Last edited by malcolmh; 2008-01-05 at 12:01 AM.
    Cheers Malcolm

    Genius4U Limited - Ingenious simple IT solutions for you / Genial einfache IT Lösungen für Sie
    http://www.genius4u.com or http://www.genius4u.de

  4. #4
    JWG
    JWG is offline Sugar Community Member
    Join Date
    Sep 2006
    Posts
    48

    Default Re: Sortable Custom Fields???

    This was not fixed in 5.0.0b

    I have submitted a bug (20032).

  5. #5
    twguk1516 is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    146

    Default Re: Sortable Custom Fields???

    Hi,

    Thanks for these posts - I was about to give up on Sugar.

    I still have a problem though searching Custom Relate Fields, For example, I have created two modules in module builder and one has a relate field to another. It is that relate field that I'm trying to seach on but each time there are no results.

    It this a bug that anyone is aware of?

    Thanks,

    Michael

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Saving and updating custom fields data
    By jones70 in forum Developer Help
    Replies: 2
    Last Post: 2011-10-05, 06:10 AM
  2. upgraded to 4.5.1e, received "Metadata for table tracker does not exist"
    By sfgeorge in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2007-09-03, 02:24 PM
  3. Replies: 0
    Last Post: 2006-12-20, 11:39 PM
  4. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 AM
  5. Replies: 7
    Last Post: 2006-06-06, 07:56 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
  •