From 364f1834e8400020f64df21896f622f7f7029bff Mon Sep 17 00:00:00 2001 From: kean Date: Tue, 31 Oct 2023 15:00:35 -0400 Subject: [PATCH] Enable page context menu in search --- .../ViewRelated/Post/Search/PostSearchViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WordPress/Classes/ViewRelated/Post/Search/PostSearchViewController.swift b/WordPress/Classes/ViewRelated/Post/Search/PostSearchViewController.swift index fb8112d5b6e4..65f3e9fecfd5 100644 --- a/WordPress/Classes/ViewRelated/Post/Search/PostSearchViewController.swift +++ b/WordPress/Classes/ViewRelated/Post/Search/PostSearchViewController.swift @@ -106,7 +106,7 @@ final class PostSearchViewController: UIViewController, UITableViewDelegate, UIS return cell case let page as Page: let cell = tableView.dequeueReusableCell(withIdentifier: Constants.pageCellID, for: indexPath) as! PageListCell - cell.configure(with: PageListItemViewModel(page: page)) + cell.configure(with: PageListItemViewModel(page: page), delegate: listViewController as? InteractivePostViewDelegate) updateHighlights(for: [cell], searchTerm: viewModel.searchTerm) return cell default: