diff options
author | Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com> | 2014-06-24 00:08:20 +0400 |
---|---|---|
committer | Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com> | 2014-06-24 15:17:34 +0400 |
commit | 2a7cdbdb75bc4d71ed1177e764f8e2a25b1aeea8 (patch) | |
tree | 1b850bdd28e000bc36e341401d18df2e95e350fb /tbl_select.php | |
parent | 0c850e49f52e22e7958af052f5918444850e569a (diff) |
RFE#654: Range Search Capability.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Diffstat (limited to 'tbl_select.php')
-rw-r--r-- | tbl_select.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tbl_select.php b/tbl_select.php index 49cd391ce9..efbdda4b59 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -31,6 +31,14 @@ $scripts->addFile('gis_data_editor.js'); $table_search = new PMA_TableSearch($db, $table, "normal"); +// Request to column min-max value. +if (isset($_REQUEST['range_search'])) { + $response = PMA_Response::getInstance(); + $min_max = $table_search->getColumnMinMax($_REQUEST['column']); + $response->addJSON('column_data', $min_max); + exit; +} + /** * No selection criteria received -> display the selection form */ |