mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
added sorting.patch from dsa to close bug #4659, sorting error
This commit is contained in:
parent
7495613d59
commit
c94000db49
1 changed files with 7 additions and 1 deletions
|
@ -995,7 +995,13 @@ function pkg_search_page($SID="") {
|
||||||
# print " <th style='border-bottom: #666 1px solid; vertical-align:";
|
# print " <th style='border-bottom: #666 1px solid; vertical-align:";
|
||||||
# print " bottom'><span class='f2'>".__("Manage")."</span></th>\n";
|
# print " bottom'><span class='f2'>".__("Manage")."</span></th>\n";
|
||||||
# }
|
# }
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
|
# Solve the sorting problem, so we can force the
|
||||||
|
# passage of the sorting params to the next pages.
|
||||||
|
# Added by: dsa <dsandrade@gmail.com>
|
||||||
|
print "<input type='hidden' name='SB' value='".$_REQUEST['SB']."' >";
|
||||||
|
print "<input type='hidden' name='SO' value='".$_REQUEST['SO']."' >";
|
||||||
|
|
||||||
for ($i=0; $row = mysql_fetch_assoc($result); $i++) {
|
for ($i=0; $row = mysql_fetch_assoc($result); $i++) {
|
||||||
(($i % 2) == 0) ? $c = "data1" : $c = "data2";
|
(($i % 2) == 0) ? $c = "data1" : $c = "data2";
|
||||||
|
|
Loading…
Add table
Reference in a new issue