Permalink
Browse files

Behaviour publishable, add alias published for orderby in before_query

  • Loading branch information...
felixgilles committed May 13, 2014
1 parent c496934 commit dd59bd4852b77b63a334ec883462e1eced678828
Showing with 1 addition and 0 deletions.
  1. +1 −0 framework/classes/orm/behaviour/publishable.php
@@ -119,6 +119,7 @@ public function before_query(&$options)
return array($where);
};
$options['before_order_by']['published'] = $_properties['publication_state_property'];
}
public function form_processing(Orm\Model $item, $data, $response_json)

0 comments on commit dd59bd4

Please sign in to comment.