|
@@ -74,7 +74,7 @@ discard block |
|
|
block discarded – undo |
|
74
|
74
|
(new CheckboxField('SearchWholePhrase', 'Search exact phrase', $this->searchWholePhrase)) |
|
75
|
75
|
->setDescription('If ticked, any item will be included that includes the whole phrase (e.g. New Zealand, rather than New OR Zealand)') |
|
76
|
76
|
); |
|
77
|
|
- if (! $this->getRequest()->requestVar('Keywords')) { |
|
|
77
|
+ if (!$this->getRequest()->requestVar('Keywords')) { |
|
78
|
78
|
$resultsTitle = 'Recently Edited'; |
|
79
|
79
|
$this->listHTML = $this->renderWith(self::class . '_Results'); |
|
80
|
80
|
} else { |
|
@@ -137,9 +137,9 @@ discard block |
|
|
block discarded – undo |
|
137
|
137
|
Environment::increaseTimeLimitTo(300); |
|
138
|
138
|
Environment::setMemoryLimitMax(-1); |
|
139
|
139
|
Environment::increaseMemoryLimitTo(-1); |
|
140
|
|
- $this->isQuickSearch = ! empty($this->rawData['QuickSearch']); |
|
141
|
|
- $this->searchWholePhrase = ! empty($this->rawData['SearchWholePhrase']); |
|
142
|
|
- $this->applyReplace = ! empty($this->rawData['ApplyReplace']); |
|
|
140
|
+ $this->isQuickSearch = !empty($this->rawData['QuickSearch']); |
|
|
141
|
+ $this->searchWholePhrase = !empty($this->rawData['SearchWholePhrase']); |
|
|
142
|
+ $this->applyReplace = !empty($this->rawData['ApplyReplace']); |
|
143
|
143
|
$this->keywords = trim($this->rawData['Keywords'] ?? ''); |
|
144
|
144
|
$this->replace = trim($this->rawData['ReplaceWith'] ?? ''); |
|
145
|
145
|
if ($this->applyReplace) { |
Please login to merge, or discard this patch.