|
Date: 5/10/2007 9:04 am · Subject: thread next/prev url · Rating: 1
why $var->{"previous.url"} = $self->getUrl("func=previousThread") if (defined $previous); why not $var->{"previous.url"} = $previous->getUrl() if (defined $previous); in Thread.pm?
at some point someone removed "my $previous = $self->getPreviousThread;" in favor of the $self->getUrl("func=previousThread"), but now that It's back, why use that "ugly" and not the direct url to the next/prev Thread...
this: https://svn.webgui.org/svnweb/plainblack/diff/WebGUI/lib/WebGUI/Asset/Post/Thread.pm?rev1=1330;rev2=1331 is reversed by this: https://svn.webgui.org/svnweb/plainblack/diff/WebGUI/lib/WebGUI/Asset/Post/Thread.pm?rev1=4031;rev2=4032
|