/webtrees/app/Http/RequestHandlers/ |
H A D | MergeTreesAction.php | 68 $tree1 = $this->tree_service->all()->get($tree1_name); 71 …if ($tree1 instanceof Tree && $tree2 instanceof Tree && $tree1 !== $tree2 && $this->admin_service-… 78 ], static function (Builder $query) use ($tree1, $tree2): void { 86 ->where('i_file', '=', $tree1->id()); 96 ], static function (Builder $query) use ($tree1, $tree2): void { 105 ->where('f_file', '=', $tree1->id()); 113 ], static function (Builder $query) use ($tree1, $tree2): void { 120 ->where('s_file', '=', $tree1->id()); 127 ], static function (Builder $query) use ($tree1, $tree2): void { 133 ->where('m_file', '=', $tree1->id()); [all …]
|
H A D | MergeTreesPage.php | 64 $tree1 = $this->tree_service->all()->get($tree1_name); 67 if ($tree1 !== null && $tree2 !== null && $tree1->id() !== $tree2->id()) { 68 $xrefs = $this->admin_service->countCommonXrefs($tree1, $tree2); 77 'tree1' => $tree1,
|
/webtrees/app/Services/ |
H A D | AdminService.php | 58 * @param Tree $tree1 63 public function countCommonXrefs(Tree $tree1, Tree $tree2): int argument 66 ->where('i_file', '=', $tree1->id()) 69 ->where('f_file', '=', $tree1->id()) 72 ->where('s_file', '=', $tree1->id()) 75 ->where('m_file', '=', $tree1->id()) 78 ->where('o_file', '=', $tree1->id())
|
/webtrees/resources/views/admin/ |
H A D | trees-merge.phtml | 36 … <a class="current" href="<?= e(route(RenumberTreePage::class, ['tree' => $tree1->name()])) ?>"> 37 <?= I18N::translate('Renumber XREFs') ?> — <?= e($tree1->title()) ?> 51 …'components/select', ['name' => 'tree1_name', 'selected' => $tree1 instanceof Tree ? $tree1->name(…
|
/webtrees/tests/app/Http/RequestHandlers/ |
H A D | RedirectBranchesPhpTest.php | 69 ['ged' => 'tree1', 'surname' => 'XYZ'], 92 ->willReturn(new Collection(['tree1' => $tree])); 104 ['ged' => 'tree1', 'surname' => 'XYZ'] 126 ['ged' => 'tree1', 'surname' => 'XYZ']
|
H A D | RedirectModulePhpTest.php | 84 … ['mod' => 'googlemap', 'mod_action' => 'pedigree_map', 'ged' => 'tree1', 'rootid' => 'X123'] 134 ['mod' => 'tree', 'mod_action' => 'treeview', 'ged' => 'tree1', 'rootid' => 'X123']
|
H A D | RedirectRepositoryPhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'rid' => 'X1…
|
H A D | RedirectNotePhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'nid' => 'X1…
|
H A D | RedirectFamilyPhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'famid' => '…
|
H A D | RedirectSourcePhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'sid' => 'X1…
|
H A D | RedirectGedRecordPhpTest.php | 71 ['ged' => 'tree1', 'pid' => 'X123']
|
H A D | RedirectLifeSpanPhpTest.php | 67 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'rootid' => …
|
H A D | RedirectNoteListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectRepoListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectSourceListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectMediaListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectStatisticsPhpTest.php | 69 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectFamListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectPlaceListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectIndividualPhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'pid' => 'X1…
|
H A D | RedirectIndiListPhpTest.php | 68 $request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1']);
|
H A D | RedirectMediaViewerPhpTest.php | 69 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'mid' => 'X1…
|
H A D | RedirectHourGlassPhpTest.php | 81 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'rootid' => …
|
H A D | RedirectFamilyBookPhpTest.php | 82 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'rootid' =>…
|
H A D | RedirectDescendancyPhpTest.php | 82 …$request = self::createRequest(RequestMethodInterface::METHOD_GET, ['ged' => 'tree1', 'rootid' =>…
|