Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshutosh Dhundhara <ashutoshdhundhara@yahoo.com>2014-06-24 00:08:20 +0400
committerAshutosh Dhundhara <ashutoshdhundhara@yahoo.com>2014-06-24 15:17:34 +0400
commit2a7cdbdb75bc4d71ed1177e764f8e2a25b1aeea8 (patch)
tree1b850bdd28e000bc36e341401d18df2e95e350fb /tbl_select.php
parent0c850e49f52e22e7958af052f5918444850e569a (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.php8
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
*/