Noch einen Fehler im SciOrganization-Modul gefunden und behoben.
git-svn-id: https://svn.libreccm.org/ccm/trunk@923 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
7e17c324dc
commit
b8ef1b3bbb
|
|
@ -61,7 +61,7 @@ query getIdsOfDepartmentsOfSciOrganization {
|
|||
from ct_sciorga_organizations_departments_map
|
||||
where ct_sciorga_organizations_departments_map.organization_id = :organization
|
||||
} map {
|
||||
departmentId = ct_sciorga_organizations_departments_map;
|
||||
departmentId = ct_sciorga_organizations_departments_map.department_id;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -219,8 +219,8 @@ public class SciOrganization extends GenericOrganizationalUnit {
|
|||
SessionManager.getSession().retrieveQuery(
|
||||
"com.arsdigita.cms.contenttypes.getIdsOfDepartmentsOfSciOrganization");
|
||||
departmentsQuery.setParameter("organization", getID());
|
||||
|
||||
if (query.size() > 0) {
|
||||
|
||||
if (departmentsQuery.size() > 0) {
|
||||
BigDecimal departmentId;
|
||||
boolean result = false;
|
||||
while (departmentsQuery.next()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue