Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Unknown column 'MMSort' in 'order clause'

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 223 Views
  • ismooth
    Avatar
    Community Member
    20 Posts

    Unknown column 'MMSort' in 'order clause' Link to this post

    Hi,

    I've got Article object with many_many relation on Review (relation name: Reviews) object, Keyword (Keywords) and Author (Authors, class extends Member). I've also sortable_many_many relation:

    SortableDataObject::add_sortable_many_many_relation('Article','Authors');
    SortableDataObject::add_sortable_many_many_relation('Article','Keywords');

    But, I don't have sortable many_many extension on Article->Reviews relation. Problem now comes when I try to add new Review for an Article in CMS. I get error from title of thread: Unknown column 'MMSort' in 'order clause'

    Any ideas how to fix this?

    223 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.