Advertisement:

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002791SMF 2.0public2008-12-10 11:082008-12-10 17:38
ReporterNao/Gilles 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0002791: Wrong sort value in contributions page
DescriptionProfile-View.php, line 566:

    $context['page_index'] = constructPageIndex($scripturl . '?action=profile;u=' . $memID . ';area=contributions;sa=attach;sort=' . $sort . ($context['sort_direction'] == 'up' ? ';asc' : ''), $context['start'], $attachCount, $maxIndex);

$sort is actually something like "m.poster_time", which appears hardcoded in the URL in page links.
It should be replaced with $context['sort_order'], which holds the current value, such as "posted".

Easy fix :)
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0006305)
Aaron (SMF Friend)
2008-12-10 17:38

 ! The contributions area in member profiles wasn't sorting properly sometimes. (Profile-View.php) Revision 7682
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group