diff --git a/Layout/default/AddressDB/View.php b/Layout/default/AddressDB/View.php
index dd7c4229a..e33d48897 100644
--- a/Layout/default/AddressDB/View.php
+++ b/Layout/default/AddressDB/View.php
@@ -184,7 +184,13 @@
=((string)$unit) ? "".(string)$unit."" : ""?> |
=($unit->extref) ? "[".$unit->extref."]" : ""?> |
- =PreorderModel::countActive(["adb_wohneinheit_id" => $unit->id])?> |
+
+ active_preorders) && count($unit->active_preorders)): ?>
+ ["adb_wohneinheit_id" => $unit->id]])?>" target="_blank">=count($unit->preorders)?>
+
+ 0
+
+ |