Issue:Ordermethod=lastedit / addeditdate=false - broken in 1.7.9 - 1.8.1
From FollowTheScore
Description: | Ordermethod=lastedit / addeditdate=false - broken in 1.7.9 and 1.8.01 |
Extension / Version: | DPL / 1.8.1 (and 1.7.9) |
Type / Status: | Bug / open |
Problem
The following DPL code don't work well - table's row NO sorted by lastedit (? may be by pagetouched):
<DPL> category=ProductInfo namespace={{NAMESPACE}} include={VersionInfo}:version:release_date:known_bugs table= class=simple,style="font-weight:normal"| module, style="font-weight:normal"|vers,style="font-weight:normal"|date,style="font-weight:normal"|bugs tablerow = align=left|%%,style="font-size:85%"| ''%%'' ,align=center|%% mode=ordered ordermethod=lastedit order=descending count =20 </DPL>
- On 1.7.8, this code worked fine.
- On 1.7.9 - wrong sorting
Thanks very much.
Reply
Indeed it sorts by page_touched now. This is the result of an effort to optimize (saves a SQL join operation). I thought page_touched was the same as the latest edit date? Is there a difference? Gero 13:05, 11 June 2009 (UTC)
Gvk328 06:40, 15 June 2009 (UTC)
But "last EDIT date" not equal "last VIEW" (touched)! I use this DPL query for show recent changes (as news), but for articles in specified category only.