Commit 2722400c authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: allow displaying searchable form_list on the access page

Using the display router command allows to drop the user search term
when moving from one access page to another.
parent 906761ed
......@@ -96,6 +96,7 @@
}
return this.changeState({
display_step: options[URL_DISPLAY_PARAMETER] || undefined,
page: options.page,
action_list: JSON.stringify(action_list),
// Force display in any case to refresh the menus
render_timestamp: new Date().getTime(),
......@@ -128,9 +129,10 @@
i;
for (i = 0; i < action_list.length; i += 1) {
url_for_list.push({
command: 'change',
command: 'display',
options: {
view: i
view: i,
page: gadget.state.page
}
});
}
......
......@@ -228,7 +228,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <unicode>zope</unicode> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -242,7 +242,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>989.58958.48545.8448</string> </value>
<value> <string>1019.35820.17369.64529</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -262,7 +262,7 @@
</tuple>
<state>
<tuple>
<float>1612866299.0</float>
<float>1727282760.47</float>
<string>UTC</string>
</tuple>
</state>
......
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