Actions
Feature #9314
closedFiltering query with statement condition not mantain sort criteria
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
My page
Target version:
-
Start date:
2011-09-23
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
I want to change _issuesassignedtome block.
I want to display as _issuesassignedtome the first 10 records of one public query.
Simply I use Redmine classes as above:
custom_developer_query = Query.find_by_name(query_sorted_by_priority_and_custom_value)
issues_to_you = Issue.visible.open.find(:all,
:conditions => custom_developer_query.statement,
:limit => 10,
:include => [ :status, :project, :tracker, :priority ])
I have 10 records ordered by priority but not for custom field...
Related issues
Actions