Commit eba496ad authored by Sven Franck's avatar Sven Franck

app: setup search for updates (still breaks)

parent fe7b7096
......@@ -4636,7 +4636,16 @@
// update gadget
app.content.set(
{},
{
"portal_type_source": config.state.type,
"portal_type_title": config.state.title,
"property_dict": util.mergeObject({
"dynamic": true,
"map_children": config.state.dyno_dict.map_children
},
config.state.dyno_dict),
"scheme": config.state.scheme
},
{
"reference": config.id,
"href": config.state.href,
......@@ -4886,7 +4895,7 @@
"portal_type_title": config.state.title,
"property_dict": util.mergeObject({
"dynamic": true,
"map_children": "listItem"
"map_children": config.state.dyno_dict.map_children
},
config.state.dyno_dict),
"scheme": config.state.scheme
......@@ -6238,7 +6247,7 @@
}
// no items, need no show! (default to empty {} if none provided
if (pointer_results.data.total_rows === 0) {
if (quirk_dict.property_dict.allow_new) {
if (quirk_dict.allow_new) {
pointer_results = {"data": {"total_rows": 1, "rows": [{"doc": {}}]}};
} else {
quirk_dict.no_show = quirk_dict.no_items || {};
......
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