Mailing List Archive

my changes to awl/DAViCal... #2
Hi Andrew,

here's another simple one in DAViCal...
In htdocs/users.php, Line 50ff is following:

$browser->SetJoins( 'usr' );

if ( isset( $_GET['o']) && isset($_GET['d']) ) {
$browser->AddOrder( $_GET['o'], $_GET['d'] );
}
else
$browser->AddOrder( 'user_no', 'A' );


I replaced the above block with the following lines:

$browser->SetOrdering( 'username', 'A' );

regards,
Matthias

HELPING HEADS for Hard- and Software
-------------------------------------------------------------------------
Fuer Ihre Projekte entwickeln wir massgeschneiderte Loesungen - schnell,
flexibel und direkt vor Ort. Unser eingespieltes Team an erfahrenen Hard-
und Software-Spezialisten unterstuetzt Sie dort, wo Sie uns brauchen.



--------------------------------------------------------------------------
SysDesign GmbH
Saentisstrasse 25
D-88079 Kressbronn am Bodensee

Geschaeftsfuehrer: Franz Kleiner
Handelsregister: Ulm 632138
--------------------------------------------------------------------------
my changes to awl/DAViCal... #2 [ In reply to ]
On Thu, 2009-10-15 at 16:27 +0200, Matthias Mohr wrote:

> I replaced the above block with the following lines:

Yep - you're right. All my newer code calls $browser->SetOrdering() as
you have identified. I've changed this one now, too :-)

Cheers,
Andrew.


------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64(272)DEBIAN
You like to form new friendships and make new acquaintances.
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.morphoss.com/pipermail/davical-users/attachments/20091021/21250203/attachment.pgp>
-------------- next part --------------