Difference between revisions of "SalesRow/GetLast"

From Sega Retro

Line 7: Line 7:
 
|template=SalesRow/GetLast/Cargo
 
|template=SalesRow/GetLast/Cargo
 
}}{{#vardefine:lastgamedate|{{#var:lastdate}}}}
 
}}{{#vardefine:lastgamedate|{{#var:lastdate}}}}
 
+
{{#vardefine:realLast|{{#var:last}}}}
 
{{#cargo_query:
 
{{#cargo_query:
 
table=salescharts
 
table=salescharts
Line 17: Line 17:
 
}}
 
}}
  
{{#ifexpr:{{#var:lastgamedate}} > 0|{{#ifeq:{{#var:lastdate}}|{{#var:lastgamedate}}|{{#vardefine:last|{{#var:lastgamedate}}}}|{{#vardefine:last|re-entry}}}}|}}
+
{{#ifexpr:{{#var:lastgamedate}} > 0|{{#ifeq:{{#var:lastdate}}|{{#var:lastgamedate}}|{{#vardefine:last|{{#var:realLast}}}}|{{#vardefine:last|re-entry}}}}|}}
 
</div></includeonly><noinclude>
 
</div></includeonly><noinclude>
  

Revision as of 15:51, 4 May 2022





20020600