summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/browse.ajax.php21
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) {