Difference between revisions of "Issue:Ordermethod=lastedit / addeditdate=false - broken in 1.7.9 - 1.8.1"
From FollowTheScore
(New page: {{Issue |Type = Bug |Extension = DPL |Version = 1.8.1 (and 1.7.9) |Description = Ordermethod=lastedit / addeditdate=false - broken in 1.7.9 and 1.8.01 |Status = open...) |
|||
Line 28: | Line 28: | ||
Thanks very much. | 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? | ||
+ | [[User:Gero|Gero]] 13:05, 11 June 2009 (UTC) |
Revision as of 15:05, 11 June 2009
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)