Weitere Korrekturen an den Sci-Typen
git-svn-id: https://svn.libreccm.org/ccm/trunk@1258 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
16a86c5f0c
commit
c1eb647a73
|
|
@ -295,6 +295,18 @@ public class GenericOrganizationalUnitSubordinateOrgaUnitsTable
|
|||
final GenericOrganizationalUnitSubordinateCollection subOrgaUnits =
|
||||
orgaunit.
|
||||
getSubordinateOrgaUnits();
|
||||
if ((customizer.getAssocType() != null)
|
||||
&& !(customizer.getAssocType().isEmpty())) {
|
||||
subOrgaUnits.addFilter(String.format(
|
||||
"link.assocType = '%s'",
|
||||
customizer.getAssocType()));
|
||||
}
|
||||
if ((customizer.getContentType() != null)
|
||||
&& !(customizer.getContentType().isEmpty())) {
|
||||
subOrgaUnits.addFilter(String.format("objectType = '%s'",
|
||||
customizer.
|
||||
getContentType()));
|
||||
}
|
||||
|
||||
if ((subOrgaUnits.size() - 1) == row) {
|
||||
final Label label = new Label("");
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ import com.arsdigita.cms.contenttypes.GenericOrganizationalUnitPublicationsColle
|
|||
import com.arsdigita.cms.contenttypes.Publication;
|
||||
import com.arsdigita.cms.dispatcher.ItemResolver;
|
||||
import com.arsdigita.cms.dispatcher.Utilities;
|
||||
import com.arsdigita.developersupport.Comodifications;
|
||||
import com.arsdigita.util.LockableImpl;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
|
|
@ -221,8 +220,8 @@ public class GenericOrganizationalUnitPublicationsTable
|
|||
public void cellSelected(final TableActionEvent event) {
|
||||
final PageState state = event.getPageState();
|
||||
|
||||
final Publication publication = new Publication((BigDecimal) event.
|
||||
getRowKey());
|
||||
final Publication publication = new Publication(new BigDecimal(event.
|
||||
getRowKey().toString()));
|
||||
final GenericOrganizationalUnit orgaunit =
|
||||
(GenericOrganizationalUnit) itemModel.
|
||||
getSelectedObject(state);
|
||||
|
|
|
|||
Loading…
Reference in New Issue