diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-18 02:19:58 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2008-03-18 02:19:58 +0000 |
commit | 6e23458ab0bdfd415b2de38a1ad03dbb03644410 (patch) | |
tree | a83467b3cc6eb1977b6f680e8200b40bdee1ff3c /server | |
parent | 179b7dab439f4993b6de0f95ef130b1dbf4d4acf (diff) | |
download | ampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.tar.gz ampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.tar.bz2 ampache-6e23458ab0bdfd415b2de38a1ad03dbb03644410.zip |
slight tweak to the hotness added by spocky, added in a slight delay on the onKeyUp removed the alpha list
Diffstat (limited to 'server')
-rw-r--r-- | server/browse.ajax.php | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/server/browse.ajax.php b/server/browse.ajax.php index 6da77e66..35a90d81 100644 --- a/server/browse.ajax.php +++ b/server/browse.ajax.php @@ -29,16 +29,17 @@ switch ($_REQUEST['action']) { $object_ids = array(); - // Check 'value' with isset because it can null - //(user type a "start with" word and deletes it) - if ($_REQUEST['key'] && isset($_REQUEST['value'])) { - // Set any new filters we've just added - Browse::set_filter($_REQUEST['key'],$_REQUEST['value']); - } - if ($_REQUEST['sort']) { - // Set the new sort value - Browse::set_sort($_REQUEST['sort']); - } + // Check 'value' with isset because it can null + //(user type a "start with" word and deletes it) + if ($_REQUEST['key'] && isset($_REQUEST['multi_alpha_filter'])) { + // Set any new filters we've just added + Browse::set_filter($_REQUEST['key'],$_REQUEST['multi_alpha_filter']); + } + + if ($_REQUEST['sort']) { + // Set the new sort value + Browse::set_sort($_REQUEST['sort']); + } // Refresh the browse div with our new filter options if we're not static if (!Browse::$static_content) { |