much better attempt at fixing select browsing
authorchriskl <chriskl>
Mon, 5 May 2003 14:46:41 +0000 (14:46 +0000)
committerchriskl <chriskl>
Mon, 5 May 2003 14:46:41 +0000 (14:46 +0000)
BUGS
display.php

diff --git a/BUGS b/BUGS
index 221c6672083ac77646099c96df8e2b44f0d45940..4d11e5f364daa9814e005cdcdeeef1c9e27b7de9 100644 (file)
--- a/BUGS
+++ b/BUGS
@@ -1,2 +1,2 @@
-* Select page browsing broken
 * Duplicate field names not displayed in select results
+* No create or replace view...
index d170e60059a6290b6a4942d8233ad60fc96718fe..0f7aca97c7f87fa68142c8ccc555d9d195d4e543 100644 (file)
@@ -9,7 +9,7 @@
         * @param $return_desc The return link name
         * @param $page The current page
         *
-        * $Id: display.php,v 1.14 2003/05/05 14:26:15 chriskl Exp $
+        * $Id: display.php,v 1.15 2003/05/05 14:46:41 chriskl Exp $
         */
 
        // Include application functions
        $rs = &$localData->browseSQL($sub, $_REQUEST['count'], $_REQUEST['page'], $conf['max_rows'], $max_pages);
 
        if (is_object($rs) && $rs->recordCount() > 0) {
-               // If action is set, then pass it along
-               global $action;
-               if (isset($action)) $action_str = 'action=' . urlencode($action);
-               else $action_str = '';
-
                // Show page navigation
-               $misc->printPages($_REQUEST['page'], $max_pages, "{$PHP_SELF}?page=%s&{$misc->href}&query=" .
+               $misc->printPages($_REQUEST['page'], $max_pages, "display.php?page=%s&{$misc->href}&query=" .
                        urlencode($_REQUEST['query']) . '&count=' . urlencode($_REQUEST['count']) . '&return_url=' .
-                       urlencode($_REQUEST['return_url']) . '&return_desc=' . urlencode($_REQUEST['return_desc']) .
-                       $action_str);
+                       urlencode($_REQUEST['return_url']) . '&return_desc=' . urlencode($_REQUEST['return_desc']));
                echo "<table>\n<tr>";
                reset($rs->f);
                while(list($k, ) = each($rs->f)) {