Permalink
Browse files

- Fixed bug: default sorting of content class is not honored

  • Loading branch information...
1 parent 1f3dbff commit a2e2fa72a52e6b0e1ca19a4db23a1db2958c1be8 @cyberwolf cyberwolf committed Jan 6, 2009
Showing with 4 additions and 0 deletions.
  1. +2 −0 classes/powercontent.php
  2. +2 −0 modules/powercontent/action.php
View
@@ -77,6 +77,8 @@ static function process( $module )
'contentobject_id' => $object->attribute( 'id' ),
'contentobject_version' => $object->attribute( 'current_version' ),
'parent_node' => $node->attribute( 'node_id' ),
+ 'sort_field' => $class->attribute( 'sort_field' ),
+ 'sort_order' => $class->attribute( 'sort_order' ),
'is_main' => 1
)
);
@@ -76,6 +76,8 @@
'contentobject_id' => $object->attribute( 'id' ),
'contentobject_version' => $object->attribute( 'current_version' ),
'parent_node' => $node->attribute( 'node_id' ),
+ 'sort_field' => $class->attribute( 'sort_field' ),
+ 'sort_order' => $class->attribute( 'sort_order' ),
'is_main' => 1
)
);

0 comments on commit a2e2fa7

Please sign in to comment.