+ return view('search.entity-ajax-list', ['entities' => $entities]);
+ }
+
+ /**
+ * Search siblings items in the system.
+ */
+ public function searchSiblings(Request $request)
+ {
+ $type = $request->get('entity_type', null);
+ $id = $request->get('entity_id', null);
+
+ $entities = (new SiblingFetcher)->fetch($type, $id);
+ return view('partials.entity-list-basic', ['entities' => $entities, 'style' => 'compact']);