add message no resoult found

This commit is contained in:
marcos 2019-12-19 14:20:31 +01:00
parent 7217176a75
commit 87405ba318
2 changed files with 5 additions and 0 deletions

View File

@ -703,6 +703,7 @@ if ($config['menu_type'] == 'classic') {
},
success: function (data) {
$('#result_order').html(data);
console.log(data);
},
error: function (data) {
console.error("Fatal error in AJAX call to interpreter order", data)

View File

@ -423,6 +423,10 @@ class OrderInterpreter extends Wizard
+ '.$more_results.' '.__('results found').'</div>';
}
if ($iterator === 0) {
echo __('No results found');
}
echo '</div>';
}
}