Merge pull request #11588 from Tithugues/f11550_master
Fix #11550 Regression in Find and replace
This commit is contained in:
commit
d0c2d6d5b9
@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
|
||||
+ issue #11438 Support JSON data type
|
||||
+ issue Editing partitions in table Structure
|
||||
- issue Tracking does not make sense for information_schema
|
||||
- issue #11550 Regression in Find and replace
|
||||
|
||||
4.5.2.0 (not yet released)
|
||||
|
||||
|
||||
@ -622,11 +622,14 @@ class TableSearchController extends TableController
|
||||
*/
|
||||
public function findAction()
|
||||
{
|
||||
$useRegex = array_key_exists('useRegex', $_POST)
|
||||
&& $_POST['useRegex'] == 'on';
|
||||
|
||||
$preview = $this->getReplacePreview(
|
||||
$_POST['columnIndex'],
|
||||
$_POST['find'],
|
||||
$_POST['replaceWith'],
|
||||
$_POST['useRegex'],
|
||||
$useRegex,
|
||||
$this->_connectionCharSet
|
||||
);
|
||||
$this->response->addJSON('preview', $preview);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user