Commit ca3440e0 authored by Sebastien Robin's avatar Sebastien Robin

ListBox: give column_id parameter to url column scripts

This allows to use the same script for various columns. It is
particularly convenient for listbox used in reports with a list of
columns that could vary depending on data.
parent 44bb93d7
......@@ -2410,7 +2410,8 @@ class ListBoxHTMLRendererLine(ListBoxRendererLine):
if url_method is not None:
try:
url = url_method(brain = brain, selection = selection,
selection_name = selection.getName())
selection_name = selection.getName(),
column_id=sql)
except (ConflictError, RuntimeError):
raise
except:
......
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