Index: AJAX.php
===================================================================
--- AJAX.php	(revision 1139)
+++ AJAX.php	(working copy)
@@ -29,9 +29,14 @@
         header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past
         echo '<?xml version="1.0" encoding="UTF-8"?' . ">\n";
         echo "<AJAXResponse>\n";
-        if (is_callable(array($this, $_GET['method']))) {
-            $this->$_GET['method']();
+        if (array_key_exists('method', $_GET)) {
+          $method = $_GET['method'];
         } else {
+          $method = $_POST['method'];
+        }
+        if (is_callable(array($this, $method))) {
+            $this->$method();
+        } else {
             echo '<Error>Invalid Method</Error>';
         }
         echo '</AJAXResponse>';
@@ -100,8 +105,10 @@
                 echo '  <availability>false</availability>';
             }
             echo '  <location>' . $location . '</location>';
-            echo '  <reserve>' . $record[0]['reserve'] . '</reserve>';
-            echo '  <callnumber>' . $record[0]['callnumber'] . '</callnumber>';
+            if (array_key_exists(0, $record)) {
+              echo '  <reserve>' . $record[0]['reserve'] . '</reserve>';
+              echo '  <callnumber>' . $record[0]['callnumber'] . '</callnumber>';
+            }
             echo ' </item>';
         }
 
@@ -318,27 +325,27 @@
         $class = $configArray['Index']['engine'];
         $db = new $class($configArray['Index']['url']);
 
-        $filter = explode('|', $_GET['filter']);
+        $filter = explode('|', $_POST['filter']);
 
-        $limit = (isset($_GET['optionLimit'])) ? $_GET['optionLimit'] : 50;
+        $limit = (isset($_POST['optionLimit'])) ? $_POST['optionLimit'] : 50;
 
         // Get fields from facets.ini configuration file
         $facets = parse_ini_file('conf/facets.ini');
         $interface->assign('facetConfig', $facets);
 
         // Define URL for links
-        $interface->assign('fullUrl', $_GET['link']);
+        $interface->assign('fullUrl', $_POST['link']);
 
         // Allow for Callnumber Hierarchy
         $fields = array();
-        if (isset($_GET['filter'])) {
+        if (isset($_POST['filter'])) {
             foreach($facets as $facet => $display) {
                 $fields[$facet] = $display;
                 if ($facet == 'callnumber-first') {
-                    if (strstr($_GET['filter'], 'callnumber-first')) {
+                    if (strstr($_POST['filter'], 'callnumber-first')) {
                         $fields['callnumber-subject'] = '';
                     }
-                    if (strstr($_GET['filter'], 'callnumber-subject')) {
+                    if (strstr($_POST['filter'], 'callnumber-subject')) {
                         $fields['callnumber-subject'] = '';
                         $fields['callnumber-label'] = '';
                     }
@@ -349,7 +356,7 @@
         }
         
         $db->raw = true;
-        $result = $db->search($_GET['query'], $filter, null, 0, null,
+        $result = $db->search($_POST['query'], $filter, null, 0, null,
                                array('limit' => $limit,
                                      'field' => array_keys($fields)),
                                null, 'score', HTTP_REQUEST_METHOD_GET);
Index: ajax.js
===================================================================
--- ajax.js	(revision 1139)
+++ ajax.js	(working copy)
@@ -464,7 +464,8 @@
             narrowList.innerHTML = 'Error: Cannot Load Facets';
         }
     }
-    var transaction = YAHOO.util.Connect.asyncRequest('GET', url+'?'+params, callback, null);
+    //    var transaction = YAHOO.util.Connect.asyncRequest('GET', url+'?'+params, callback, null);
+    var transaction = YAHOO.util.Connect.asyncRequest('POST', url, callback, params);
 }
             
 function setCookie(c_name,value,expiredays)

