From 1404d1ef0f71ffb2882138effe60a95c6fee175a Mon Sep 17 00:00:00 2001 From: Ryan Cramer Date: Fri, 13 Jul 2018 13:25:18 -0400 Subject: [PATCH] A couple of minor adjustments for 3.0.108 --- wire/core/Module.php | 2 +- .../modules/Process/ProcessPageSearch/ProcessPageSearchLive.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wire/core/Module.php b/wire/core/Module.php index b9038fa3..83e4d8f8 100644 --- a/wire/core/Module.php +++ b/wire/core/Module.php @@ -575,7 +575,7 @@ interface SearchableModule { * specified here. This corresponds with the getModuleInfo()['searchable'] name or item 'group' property. * Note that ProcessWire won’t call your search() method if the type cannot match this search. * - `operator` (string): Selector operator type requested, if more than one is supported (default is %=). - * - `property` (string): If search should limit to a particular property/fieldj, it is named here. + * - `property` (string): If search should limit to a particular property/field, it is named here. * - `verbose` (bool): True if output can optionally be more verbose, false if not. (default=false) * - `debug` (bool): True if DEBUG option was specified in query. (default=false) * - `help` (bool): True if we are just querying for help/info and are not using the search results. (default=false) diff --git a/wire/modules/Process/ProcessPageSearch/ProcessPageSearchLive.php b/wire/modules/Process/ProcessPageSearch/ProcessPageSearchLive.php index a31665c3..18a4f62a 100644 --- a/wire/modules/Process/ProcessPageSearch/ProcessPageSearchLive.php +++ b/wire/modules/Process/ProcessPageSearch/ProcessPageSearchLive.php @@ -949,6 +949,7 @@ class ProcessPageSearchLive extends Wire { 'group' => 'help', ); } + foreach($items as $key => $item) $items[$key] = array_merge($this->itemTemplate, $item); return $items; }