Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
erp5
Commits
5575ab18
Commit
5575ab18
authored
2 years ago
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_blog: check effective date firstly
parent
435dd9d1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_viewBlogFrontPage/listbox.xml
...ns/erp5_web_blog/WebSection_viewBlogFrontPage/listbox.xml
+4
-0
bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_viewBlogFrontPage/listbox_effective_date.xml
...g/WebSection_viewBlogFrontPage/listbox_effective_date.xml
+1
-1
No files found.
bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_viewBlogFrontPage/listbox.xml
View file @
5575ab18
...
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
bt5/erp5_web_blog/SkinTemplateItem/portal_skins/erp5_web_blog/WebSection_viewBlogFrontPage/listbox_effective_date.xml
View file @
5575ab18
...
...
@@ -109,7 +109,7 @@
<dictionary>
<item>
<key>
<string>
_text
</string>
</key>
<value>
<string>
python: cell.getCreationDate()
</string>
</value>
<value>
<string>
python: cell.get
EffectiveDate() if cell.getEffectiveDate() else cell.get
CreationDate()
</string>
</value>
</item>
</dictionary>
</pickle>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment