diff options
author | Michal Čihař <michal@cihar.com> | 2005-10-09 16:49:22 +0400 |
---|---|---|
committer | Michal Čihař <michal@cihar.com> | 2005-10-09 16:49:22 +0400 |
commit | f25a50a9be3570dc28d5adae3fea0c8fbe968890 (patch) | |
tree | 24e5b9deba03cc213fe3734d4b91b85c9ebd9ccf /browse_foreigners.php | |
parent | c7dc601156c30217f2919193d600bdd1c760f931 (diff) |
Support for searching in foreign keys (RFE #871091).
Diffstat (limited to 'browse_foreigners.php')
-rw-r--r-- | browse_foreigners.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/browse_foreigners.php b/browse_foreigners.php index 56e6f3b018..715a73cfc0 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -99,6 +99,11 @@ if (isset($pk)) { } ?> +<label for="input_foreign_filter"><?php echo $strSearch . ':'; ?></label> +<input type="text" name="foreign_filter" id="input_foreign_filter" value="<?php echo isset($foreign_filter) ? htmlspecialchars($foreign_filter) : ''; ?>" /> +<input type="submit" name="submit_foreign_filter" value="<?php echo $strGo;?>" /> +<hr /> + <table width="100%"> <?php if ($cfg['ShowAll'] && ($the_total > $per_page)) { @@ -117,6 +122,7 @@ if ($the_total > $per_page) { '&' . PMA_generate_common_url($db, $table) . $pk_uri . '&fieldkey=' . (isset($fieldkey) ? $fieldkey : '') . + '&foreign_filter=' . (isset($foreign_filter) ? htmlspecialchars($foreign_filter) : '') . '&', $session_max_rows, $pageNow, |