htdocs/assets/js/views/searches/search/elasticsearch.js
Function readForm
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
readForm: function() {
var data = SearchView.SearchView.prototype.readForm.call(this);
if("result_type" in data) {
data.query_data.result_type = parseInt(data.result_type, 10);