Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Hamza
erp5-Boxiang
Commits
19efdc8f
Commit
19efdc8f
authored
Dec 10, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Listbox: stat method should be searchResults, not countResults
parent
76d45d01
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
product/ERP5Form/ListBox.py
product/ERP5Form/ListBox.py
+2
-2
No files found.
product/ERP5Form/ListBox.py
View file @
19efdc8f
...
@@ -1357,8 +1357,8 @@ class ListBoxRenderer:
...
@@ -1357,8 +1357,8 @@ class ListBoxRenderer:
# Nothing to do in this case.
# Nothing to do in this case.
stat_method
=
None
stat_method
=
None
elif
stat_method_name
==
'portal_catalog'
:
elif
stat_method_name
==
'portal_catalog'
:
stat_method
=
CatalogMethodWrapper
(
self
.
getCatalogTool
(),
'
count
Results'
)
stat_method
=
CatalogMethodWrapper
(
self
.
getCatalogTool
(),
'
search
Results'
)
elif
stat_method_name
==
'
count
Folder'
:
elif
stat_method_name
==
'
search
Folder'
:
stat_method
=
CatalogMethodWrapper
(
self
.
getContext
(),
stat_method_name
)
stat_method
=
CatalogMethodWrapper
(
self
.
getContext
(),
stat_method_name
)
elif
stat_method_name
is
not
None
:
elif
stat_method_name
is
not
None
:
stat_method
=
getattr
(
self
.
getContext
(),
stat_method_name
,
None
)
stat_method
=
getattr
(
self
.
getContext
(),
stat_method_name
,
None
)
...
...
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