At them moment the query used for getting the posts which need to be moderated
looks as follows:
[code]select * from mgnl:message where contains(*,'*$*') and validated is
null[/code]
This query return 0 results because of the "contains" which searches for *$* in
any of the properties of the message.
The "contains" part comes from the buildWhereClause() method inside the
QueryBuilder.java class:
[code] if(this.model.getQuery() !=null){
where.append(buildWhereClause(this.model.getQuery().getRootExpression()));
}[/code]
Overriding the following method in the ModerationListModel.java should do the
trick I guess:
[code] @Override
public SearchQuery getQuery() {
return null;
}[/code]
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=38d8be66-80e8-47b0-9051-93a247d917e7
----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------