Home
last modified time | relevance | path

Searched refs:tree2 (Results 1 – 4 of 4) sorted by relevance

/webtrees/app/Http/RequestHandlers/
H A DMergeTreesAction.php69 $tree2 = $this->tree_service->all()->get($tree2_name);
71 …$tree1 instanceof Tree && $tree2 instanceof Tree && $tree1 !== $tree2 && $this->admin_service->cou…
78 ], static function (Builder $query) use ($tree1, $tree2): void {
80 new Expression($tree2->id()),
96 ], static function (Builder $query) use ($tree1, $tree2): void {
98 new Expression($tree2->id()),
113 ], static function (Builder $query) use ($tree1, $tree2): void {
115 new Expression($tree2->id()),
127 ], static function (Builder $query) use ($tree1, $tree2): void {
129 new Expression($tree2->id()),
[all …]
H A DMergeTreesPage.php65 $tree2 = $this->tree_service->all()->get($tree2_name);
67 if ($tree1 !== null && $tree2 !== null && $tree1->id() !== $tree2->id()) {
68 $xrefs = $this->admin_service->countCommonXrefs($tree1, $tree2);
78 'tree2' => $tree2,
/webtrees/app/Services/
H A DAdminService.php59 * @param Tree $tree2
63 public function countCommonXrefs(Tree $tree1, Tree $tree2): int argument
83 ->where('gedcom_id', '=', $tree2->id())
86 ->where('i_file', '=', $tree2->id())
89 ->where('f_file', '=', $tree2->id())
92 ->where('s_file', '=', $tree2->id())
95 ->where('m_file', '=', $tree2->id())
98 ->where('o_file', '=', $tree2->id())
/webtrees/resources/views/admin/
H A Dtrees-merge.phtml41 … <a class="current" href="<?= e(route(RenumberTreePage::class, ['tree' => $tree2->name()])) ?>">
42 <?= I18N::translate('Renumber XREFs') ?> — <?= e($tree2->title()) ?>
52 …'components/select', ['name' => 'tree2_name', 'selected' => $tree2 instanceof Tree ? $tree2->name(…