You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Model/Source/InstantSearchRedirectOptions.php
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,19 +17,28 @@ public function toOptionArray()
17
17
return [
18
18
[
19
19
'value' => self::REDIRECT_ON_PAGE_LOAD,
20
-
'label' => __('Redirect on page load (if InstantSearch loads with a redirect, immediately take the user to that URL)'),
20
+
'label' => __('Redirect on page load'),
21
+
'description' => __('If InstantSearch loads search results that include a redirect, immediately take the user to that URL.')
21
22
],
22
23
[
23
24
'value' => self::REDIRECT_ON_SEARCH_AS_YOU_TYPE,
24
25
'label' => __('Trigger redirect on "search as you type"'),
26
+
'description' =>
27
+
__(
28
+
'As the user types their query in the %1 widget, matching hits will be retrieved automatically from %2. If a redirect is found for the entered query, this setting will immediately take the user to that URL.',
0 commit comments