Commit 5575ab18 authored by Xiaowu Zhang's avatar Xiaowu Zhang

erp5_web_blog: check effective date firstly

parent 435dd9d1
......@@ -179,6 +179,10 @@
<key> <string>sort</string> </key>
<value>
<list>
<tuple>
<string>effective_date</string>
<string>descending</string>
</tuple>
<tuple>
<string>creation_date</string>
<string>descending</string>
......
......@@ -109,7 +109,7 @@
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python: cell.getCreationDate()</string> </value>
<value> <string>python: cell.getEffectiveDate() if cell.getEffectiveDate() else cell.getCreationDate()</string> </value>
</item>
</dictionary>
</pickle>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment