From 4c2a40ece8731ab4f4a1232c356b83b67e0259d6 Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 19 Jun 2012 03:33:40 -0700 Subject: [PATCH] ordering preference --- page.tgz | Bin 2054 -> 2055 bytes page/page.php | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/page.tgz b/page.tgz index 43eb2b5616195fb85ed7713dc21f548ea544dae9..0523c0fe20b51d89f1c6fdb78eecd0bf4dd7ae98 100644 GIT binary patch literal 2055 zcmV+i2>ACOiwFRJRp3tm1MOK`bK5o+_N(+OPPyKYN_BTEXRJ#%)4H37r0&F-?n9E1 zArg`>CJ8PG`m)>n_dN$7DN=Ikbi2-Grown65jZ$Fmk-|o=!C6!@8EG;AKS^v@xk!; z*~xJD?4W-<8jhX~On=@E27{B6e*buQJnA3x@u5FFfa6ED%d{-jOaUB3%wGw0E#gne zC9C7n;Q90CU&5v@*b>S=eRTaaeWW!W%KvaUD)K)V9by0A=m@`{|48=K+MhiC&1Um2 zl>Sc2wHEOz?SyQ>!#3Dn#o|Clwh#W@Y%D{`^eKdVsmIO6jR^Gm6o&nNa*K}M<*lmY?q;=gpT5&@2{~eV-PuuMOWSuxv$rk?~9X&hR z@Bc5+Cf{M+o4uz`oA4BVVi7-upAil8^aD?QB@!)UdHK4HYV>-b zcqFemLNmOB4#-6+L$3LKE0Zc72M?}R$hB-mtY>1yHGO-BnF!j4wvdXH!xWY*OgW_o z?K&hGvt_5ilwxZ%lxTApjG0iTVR(oS42w|khEgQzQNX0V!i<1e zf?jh-lw69CgGhmGaT=aaq~gq9dmDdQ3dMuj3wDKfAIdcxbl;iI3ZZxA`9m8VGPX8g zI%q@$wSIi0UK6+KfNOf(4+QLw!~i-|v1it|SgAv$0Frme+D{G_##;3KoRFGhmSRAE z+D%O?oIDv03IrJj1+hQ_Di2R6S1ZfIS;|$jfpZZ_tTW5SznN}SwBY;=m_d?#=VDS^ zjM5bPElf^seKkeyBoNmif~jMVrM7rD;D;X2a_^Sh((5-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BL&D`4 z{AjLHA71?Q16*1vxkT-I?irn>r@uxtbJHrXOZ_4>*DSV?>9kwUP>Mq{2AHx}m=6$h zFiQ@Zl5-Jr5E|GTqv7d9D$c@Xu=1B_C?D)ja4Wp~P_5yi``&m`3ca(>AG+X?v5f)S zK_en+^y4G-+PKvReB0xHAXtB-{cm!W26lailqOJ07zMkm`($@!twrC@38w{ODF*as zd~IXl70K{WAj&Z)gajN=MR;PlSU48WHCOEx&P5!t-lP!!X1r3-f%7+D2TAswk4f<{ zN@EyyFgb6lUV-yN7xC6x_ zp$0hC05EB`sre1vg$MSAfzo(|;AjfJMaoQBj2TIgq zBy<+Dy9ysAmRqflUlv3-oI=`I;Am7;Z&&Ru%AicW4mjAv^{=4snVL6a~*rcKL-#~qb!>_*rcHIWM)1S{T-ntFHdY6ay^n~tJ zYo{&!`3%)9&(l`_J9jx*4S%o<_MpBM|JblsDMs`jEGeR z>z7BI8g+W_)%(;deEd5(g&u{uQn-)MR}3q?)FF3V65*OD!Deyk zOO(?uX|tyY6ONVL?m0 zTfThz`c(-7ev4HK^9@+#k|H|V<+XO&sP^9sEhcUst;Fcy;aJbY`=WYJ0haV=c+^z7 zI_#8cZxqWiu9}M7JNixGqU@l-#Ypuc-YYG6N%YIoJ1Ab>p|b^%(lxI*0AZ;$OPL$m z3aGd=*s5cMgSRb<{&fTU~<>}k=y1^sOI3x$R67HuDV*PPKHdZ5-{bg7 zXw`$L&Xl~yeBwRc)dra5#$b{kgt8N_pof*!IqLj!qjj&=i;(vTjg6dR#4n1HRUXUg k71(!gCAa?`+O}=mwr$(CZQHhO`|sO-0B^=Z*#Ia203Fg6-~a#s diff --git a/page/page.php b/page/page.php index 80d902def..c79b6bea4 100755 --- a/page/page.php +++ b/page/page.php @@ -31,7 +31,7 @@ function page_getpage($uid,$randomise = false) { $pagelist = array(); - $random = (($randomise) ? ' order by rand ' : ' order by name asc '); + $random = (($randomise) ? ' order by rand() ' : ' order by name asc '); $contacts = q("SELECT `id`, `url`, `name`, `micro`FROM `contact` WHERE `network`= 'dfrn' AND `forum` = 1 AND `uid` = %d