Einige kleinere Korrekturen
git-svn-id: https://svn.libreccm.org/ccm/trunk@1286 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
2e311ef532
commit
a90aae7cda
|
|
@ -59,7 +59,8 @@ public class GenericOrgaUnitTabComponent extends AbstractComponent {
|
|||
GenericOrganizationalUnit orgaunit =
|
||||
(GenericOrganizationalUnit) DomainObjectFactory.
|
||||
newInstance(orgaunitOid);
|
||||
if (!DispatcherHelper.getDispatcherPrefix(request).equals("preview")) {
|
||||
if ((DispatcherHelper.getDispatcherPrefix(request) == null)
|
||||
|| !DispatcherHelper.getDispatcherPrefix(request).equals("preview")) {
|
||||
orgaunit = (GenericOrganizationalUnit) orgaunit.getLiveVersion();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,4 +2,7 @@
|
|||
<version from="6.6.0" to="6.6.1">
|
||||
<script sql="ccm-sci-publications/upgrade/::database::-6.6.0-6.6.1.sql"/>
|
||||
</version>
|
||||
<version from="6.6.1" to="6.6.2">
|
||||
<script sql="ccm-sci-publications/upgrade/::database::-6.6.1-6.6.2.sql"/>
|
||||
</version>
|
||||
</upgrade>
|
||||
|
|
@ -96,7 +96,7 @@ public class SciInstituteProjectsTab implements GenericOrgaUnitTab {
|
|||
final HttpServletRequest request = state.getRequest();
|
||||
|
||||
final Element depProjectsElem = parent.newChildElement(
|
||||
"departmentProjects");
|
||||
"instituteProjects");
|
||||
final Element filtersElem = depProjectsElem.newChildElement(
|
||||
"filters");
|
||||
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ public class SciInstituteSummaryTab implements GenericOrgaUnitTab {
|
|||
final long start = System.currentTimeMillis();
|
||||
|
||||
if ((department != null)
|
||||
&& (department.getInstituteShortDescription() != null)
|
||||
&& !department.getInstituteShortDescription().trim().isEmpty()) {
|
||||
final Element shortDescElem = parent.newChildElement("shortDesc");
|
||||
shortDescElem.setText(department.getInstituteShortDescription());
|
||||
|
|
|
|||
Loading…
Reference in New Issue