[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#339411: dcl: "numrows" global is not used for initial tickets display, but is used when changing pages.



Package: dcl
Version: 1:0.9.4.4-1
Severity: normal

The global "numrows" specifies the number of rows to display in ticket
views. It is used when changing to a specific page of the ticket
browser, but hardcoded at 15 for the initial ticket browser view.

this patch fixes that problem:

--- ./inc/class.htmlTickets.inc.php     2003-12-10 16:54:06.000000000 +1100
+++ /usr/share/dcl/www/inc/class.htmlTickets.inc.php    2005-11-10 11:44:58.000000000 +1100
@@ -349,7 +349,7 @@
                }
                else
                {
-                       $oView->numrows = 15;
+                       $oView->numrows = $GLOBALS['numrows'];
                        $oView->startrow = 0;
                }


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dcl depends on:
ii  apache [httpd]            1.3.33-6sarge1 versatile, high-performance HTTP s
ii  bash                      2.05b-26       The GNU Bourne Again SHell
ii  debconf                   1.4.30.13      Debian configuration management sy
ii  grep                      2.5.1.ds1-4    GNU grep, egrep and fgrep
ii  php4                      4:4.3.10-16    server-side, HTML-embedded scripti
ii  python                    2.3.5-2        An interactive high-level object-o
ii  sed                       4.1.2-8        The GNU sed stream editor
ii  wwwconfig-common          0.0.43         Debian web auto configuration

-- no debconf information



Reply to: