Skip to content

Commit

Permalink
Merge pull request #2591 from phili67/phili67-deactivate-family+peopl…
Browse files Browse the repository at this point in the history
…edashboard

deactivate-family+peopledashboard
  • Loading branch information
phili67 committed Apr 7, 2024
2 parents b2d44bb + 97df8e2 commit b54430d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/v2/templates/people/familyview.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
?>


<?php if (is_null($family->getDateDeactivated())) {
<?php if (!is_null($family->getDateDeactivated())) {
?>
<div class="alert alert-warning">
<strong><?= _(" This Family is Deactivated") ?> </strong>
Expand Down
2 changes: 1 addition & 1 deletion src/v2/templates/people/peopledashboard.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

require $sRootDocument . '/Include/Header.php';

$families = FamilyQuery::create()->filterByLongitude(0)->_and()->filterByLatitude(0)->find();
$families = FamilyQuery::create()->filterByDateDeactivated(NULL)->filterByLongitude(0)->_and()->filterByLatitude(0)->limit(100)->find();

?>

Expand Down

0 comments on commit b54430d

Please sign in to comment.