This commit is contained in:
Lucio Lelii 2008-12-02 15:31:51 +00:00
parent 3f393aa470
commit 2c310e999b
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ public class ModelerService {
try{
DBInterface.connect();
collectionRelated= DBInterface.queryDB("select VRERELATEDCOLLECTION.collid from VRERELATEDCOLLECTION where DLRELATEDCOLLECTION.dlid='"+getResource().getId()+"';");
collectionRelated= DBInterface.queryDB("select VRERELATEDCOLLECTION.collid from VRERELATEDCOLLECTION where VRERELATEDCOLLECTION.vreid='"+getResource().getId()+"';");
//select only the resuls related with selected collection
preparedWhere= " and ( ";
while (collectionRelated.next()){