From 504055284fcef1c6d50f172e3cb3fa077cc9c7a8 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 30 Oct 2022 21:03:33 +0000 Subject: Fix: 'Cancel' button goes to wrong URL for reorder children --- resources/views/edit/reorder-children.phtml | 4 +++- resources/views/modules/relatives/family.phtml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'resources/views') diff --git a/resources/views/edit/reorder-children.phtml b/resources/views/edit/reorder-children.phtml index b0b3d33d32..031ba93656 100644 --- a/resources/views/edit/reorder-children.phtml +++ b/resources/views/edit/reorder-children.phtml @@ -13,6 +13,7 @@ use Fisharebest\Webtrees\View; /** * @var Family $family * @var string $title + * @var string $url */ ?> @@ -20,6 +21,7 @@ use Fisharebest\Webtrees\View;

+
facts(['CHIL'])->filter(static fn (Fact $fact): bool => $fact->target() instanceof Individual) as $fact) : ?>
@@ -47,7 +49,7 @@ use Fisharebest\Webtrees\View; - + diff --git a/resources/views/modules/relatives/family.phtml b/resources/views/modules/relatives/family.phtml index e97af17b59..00db1b6e30 100644 --- a/resources/views/modules/relatives/family.phtml +++ b/resources/views/modules/relatives/family.phtml @@ -231,7 +231,7 @@ use Fisharebest\Webtrees\Services\RelationshipService; children()->count() > 1) : ?>
- + -- cgit v1.3