From 324767868e64c98de3968d69afe6162842be32b5 Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Tue, 24 Sep 2024 14:42:30 +0200 Subject: [PATCH] fix: [ui:search_all] Fixed dropdown width to avoid screen overflow for large results - This will put an end to @gallypette and @adulau's pestering --- templates/Instance/search_all.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/Instance/search_all.php b/templates/Instance/search_all.php index bd6bb17..b2be5b8 100644 --- a/templates/Instance/search_all.php +++ b/templates/Instance/search_all.php @@ -20,7 +20,7 @@ foreach ($tableResult['entries'] as $entry) { if ($entry->getSource() == 'MetaFields') { - $section .= sprintf('%s', + $section .= sprintf('%s', Cake\Routing\Router::URL([ 'controller' => Cake\Utility\Inflector::pluralize($entry->scope), 'action' => 'view', @@ -29,7 +29,7 @@ sprintf('%s (%s::%s)', h($entry->value), h($entry->scope), h($entry->field)) ); } else { - $section .= sprintf('%s', + $section .= sprintf('%s', Cake\Routing\Router::URL([ 'controller' => Cake\Utility\Inflector::pluralize($entry->getSource()), 'action' => 'view',