From ab815be1feaedc9b66e96ff37a97e07e43f3f5ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Wed, 8 Aug 2001 14:29:49 +0000 Subject: [PATCH] merged patch #443393 --- ChangeLog | 5 +++-- images/asc_order.gif | Bin 0 -> 842 bytes images/desc_order.gif | Bin 0 -> 843 bytes lib.inc.php3 | 5 ++++- 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 images/asc_order.gif create mode 100644 images/desc_order.gif diff --git a/ChangeLog b/ChangeLog index 6c55e96bb..44767925d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -10,8 +10,9 @@ $Source$ bit both the '$set$' switch cases. * ldi_check.php3: fixed bug #448522 (Insert Data Error on Win32-Server). * tbl_change.php3, lines 165 & 287: removed erroneous . - * lib.inc.php3, line 947: fix a bug when primary key values contain - slashes. + * lib.inc.php3: + - line 947: fix a bug when primary key values contain slashes. + - merged patch #443393. 2001-08-08 Steve Alberty * tbl_replace.php3: remove warning in a new row if a 'set' field is not diff --git a/images/asc_order.gif b/images/asc_order.gif new file mode 100644 index 0000000000000000000000000000000000000000..956bce53e3b1ef7ea2a5510164f44ddf310e1c9a GIT binary patch literal 842 zcmZ?wbhEHbWM^P!_|CwvVez`(=6$RNkyQ^UaK)jyq~wL^d*=L17miTeeHMgb9qZ43-74AcKG zbTFLhXL_}B{!c9pE}U=ZVHSi!*1$-wZPi9xEqem(<-IKwZ-{refj zy`BHev0`9|`OgsEl<8T{;K!KilAP-wUl5+3A6!%vvo0}2tSEJVWv;kFL7Qj3NM3PI z$;Mr&Kdp=QbLTNQq#87olrShTFu0{MWEL^x3NL&<&y2A%{DmkGW<8NBv4FzjGBBgyazq@ID{ zM}2b#hY-UrUxxh*G2RTX=e#Zfo0|KgUg8zU_mW@x8TOaI4%xWv&5fTW9s3y=7QA8z z`_JI}pMjzN#uA5)us73vOF9@B8167I%w}Nt!@#hgf$2p((@PG9l3xrA`^^{_IvK(4 zVPII5&|tI3fY~pUfq`K?Lx7lp{&xnq{cH^83=ZlHZ{itBKni&r7`om}S19RFVNm?Z z0@kSmB0+hAokN|0kwb=~!J&bHnTth0;DCY?BNwNN48z9-j&00rCOQp*4-YYMGBYt) F0|1*d{~Z7T literal 0 HcmV?d00001 diff --git a/images/desc_order.gif b/images/desc_order.gif new file mode 100644 index 0000000000000000000000000000000000000000..e2ecca496579cfae218fdd1456b320421aee8776 GIT binary patch literal 843 zcmZ?wbhEHbWM^P!_|Cw$H zyf?-&F$A&(EO2!0>~Cp@fNnp}xL`f#Vayuaf=y8N|Jv z|ID#sV2Jt85Z;vOSz`Z@9-kkaUlg-0F+{8=b$?~9xI#gjXTC^YaZky{ zU8z5u8$pU08W^rv2z-3} zp@gA?p@D&81H-4?;Am-JP-J)`&G>3NL&<&y2A&BXE<1dGGI;H8VA#QMMv~#xcd+=6 z`sNM}A%)MZtj>8jX;Kmeg#Gr76xko Dr@sL+ literal 0 HcmV?d00001 diff --git a/lib.inc.php3 b/lib.inc.php3 index 691e0eff8..12fa00b63 100755 --- a/lib.inc.php3 +++ b/lib.inc.php3 @@ -871,12 +871,15 @@ var errorMsg2 = 'name) . ' ' . $GLOBALS['cfgOrder']; + $order_img = ''; } else if (substr($sql_order, -3) == 'ASC' && $is_in_sort) { $sort_order = ' ORDER BY ' . backquote($field->name) . ' DESC'; + $order_img = ' ASC'; } else if (substr($sql_order, -4) == 'DESC' && $is_in_sort) { $sort_order = ' ORDER BY ' . backquote($field->name) . ' ASC'; + $order_img = ' DESC'; } if (eregi('(.*)( LIMIT (.*)| PROCEDURE (.*)| FOR UPDATE| LOCK IN SHARE MODE)', $unsorted_sql_query, $regs3)) { $sorted_sql_query = $regs3[1] . $sort_order . $regs3[2]; @@ -892,7 +895,7 @@ var errorMsg2 = ' - name); ?> + name); ?>