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
Labels
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
56ccb491
Commit
56ccb491
authored
Jan 15, 2020
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixup! rewrite anonymous support in selection.
parent
1cc2c2db
Changes
1
Show 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
():
...
...
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