1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-25 15:51:37 +02:00

A couple of minor adjustments for 3.0.108

This commit is contained in:
Ryan Cramer
2018-07-13 13:25:18 -04:00
parent 1f4ca1b8f4
commit 1404d1ef0f
2 changed files with 2 additions and 1 deletions

View File

@@ -575,7 +575,7 @@ interface SearchableModule {
* specified here. This corresponds with the getModuleInfo()['searchable'] name or item 'group' property.
* Note that ProcessWire wont 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)

View File

@@ -949,6 +949,7 @@ class ProcessPageSearchLive extends Wire {
'group' => 'help',
);
}
foreach($items as $key => $item) $items[$key] = array_merge($this->itemTemplate, $item);
return $items;
}