Advanced search: WIP POC, integration with endpoint, add "list_params" parameter.

SVN:b1162[5405]
This commit is contained in:
Guillaume Lajarige
2018-03-09 16:28:46 +00:00
parent 7d95c02b57
commit b8aed0f004

View File

@@ -51,6 +51,7 @@ $(function()
// },
],
},
'list_params': {}, // Passed through to the endpoint so it can render the list correctly regarding the context.
'supported_criterion_types': ['raw', 'string'],
'default_criteria_type': 'raw',
},
@@ -334,6 +335,7 @@ $(function()
'base_oql': this.options.search.base_oql,
'criterion': this.options.search.criterion,
}),
'list_params': this.options.list_params,
};
// Show loader
@@ -358,7 +360,7 @@ $(function()
// - Called on form submit failures
_onSubmitFailure: function(oData)
{
// TODO: onSubmitFailure callback
// TODO: onSubmitFailure callback. Show oData in a debug or error div.
},
// - Called after form submits
_onSubmitAlways: function(oData)