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
|
from ct_sciorga_organizations_departments_map
|
||||||
where ct_sciorga_organizations_departments_map.organization_id = :organization
|
where ct_sciorga_organizations_departments_map.organization_id = :organization
|
||||||
} map {
|
} 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(
|
SessionManager.getSession().retrieveQuery(
|
||||||
"com.arsdigita.cms.contenttypes.getIdsOfDepartmentsOfSciOrganization");
|
"com.arsdigita.cms.contenttypes.getIdsOfDepartmentsOfSciOrganization");
|
||||||
departmentsQuery.setParameter("organization", getID());
|
departmentsQuery.setParameter("organization", getID());
|
||||||
|
|
||||||
if (query.size() > 0) {
|
if (departmentsQuery.size() > 0) {
|
||||||
BigDecimal departmentId;
|
BigDecimal departmentId;
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
while (departmentsQuery.next()) {
|
while (departmentsQuery.next()) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue