java/code/src/com/redhat/rhn/domain/channel/ContentSourceFilter.hbm.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 31fc7f49fd0872502f249d035a40279ffd8d9d00 Author: Tomas Lestach tlestach@redhat.com Date: Tue Aug 28 09:46:05 2012 +0200
fix ContentSourceFilter.findBySourceId to return list of ContentSourceFilter objects
diff --git a/java/code/src/com/redhat/rhn/domain/channel/ContentSourceFilter.hbm.xml b/java/code/src/com/redhat/rhn/domain/channel/ContentSourceFilter.hbm.xml index 43e4a4e..609f4a3 100644 --- a/java/code/src/com/redhat/rhn/domain/channel/ContentSourceFilter.hbm.xml +++ b/java/code/src/com/redhat/rhn/domain/channel/ContentSourceFilter.hbm.xml @@ -22,8 +22,7 @@ PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" </class>
<query name="ContentSourceFilter.findBySourceId"> - <![CDATA[SELECT f.sortOrder, f.flag, f.filter - FROM com.redhat.rhn.domain.channel.ContentSourceFilter AS f + <![CDATA[FROM com.redhat.rhn.domain.channel.ContentSourceFilter AS f WHERE f.sourceId = :source_id ORDER BY f.sortOrder]]> </query>
spacewalk-commits@lists.fedorahosted.org