Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5_fork
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5_fork
Commits
56ccb491
Commit
56ccb491
authored
5 years ago
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! rewrite anonymous support in selection.
parent
1cc2c2db
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
product/ERP5Form/ListBox.py
product/ERP5Form/ListBox.py
+5
-2
No files found.
product/ERP5Form/ListBox.py
View file @
56ccb491
...
...
@@ -1143,8 +1143,8 @@ class ListBoxRenderer:
# (i.e. do not update parameters in listboxes intended to show a previously defined selection.
listbox_prefix
=
'%s_'
%
self
.
getId
()
for
k
,
v
in
self
.
request
.
form
.
iteritems
():
# Ignore
parameters for other listboxes and
selection keys.
if
'listbox_'
in
k
or
k
.
endswith
(
'selection_key'
):
# Ignore selection keys.
if
k
.
endswith
(
'selection_key'
):
continue
elif
k
.
startswith
(
listbox_prefix
):
k
=
k
[
len
(
listbox_prefix
):]
...
...
@@ -1153,6 +1153,9 @@ class ListBoxRenderer:
# will limit the contents for the selection.
if
k
!=
'uid'
:
params
[
k
]
=
v
elif
'listbox_'
in
k
:
# Ignore parameters for other listboxes
continue
else
:
params
[
k
]
=
v
for
k
,
v
in
self
.
getDefaultParamList
():
...
...
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